BT_HIDDEN
enum bt_query_status metadata_info_query(
struct bt_self_component_class_source *comp_class,
BT_HIDDEN
enum bt_query_status metadata_info_query(
struct bt_self_component_class_source *comp_class,
char *metadata_text = NULL;
FILE *metadata_fp = NULL;
GString *g_metadata_text = NULL;
char *metadata_text = NULL;
FILE *metadata_fp = NULL;
GString *g_metadata_text = NULL;
- status = bt_private_value_map_insert_entry(info, range_name,
- bt_private_value_as_value(range_map));
+ status = bt_value_map_insert_entry(info, range_name,
+ range_map);
{
int ret = 0;
int64_t stream_class_id, stream_instance_id;
enum bt_value_status status;
{
int ret = 0;
int64_t stream_class_id, stream_instance_id;
enum bt_value_status status;
- status = bt_private_value_map_insert_entry(group_info, "paths",
- bt_private_value_as_value(file_paths));
+ status = bt_value_map_insert_entry(group_info, "paths",
+ file_paths);
/* Find range of all stream groups, and of the trace. */
for (group_idx = 0; group_idx < trace->ds_file_groups->len;
group_idx++) {
/* Find range of all stream groups, and of the trace. */
for (group_idx = 0; group_idx < trace->ds_file_groups->len;
group_idx++) {
struct range group_range = { .set = false };
struct ctf_fs_ds_file_group *group = g_ptr_array_index(
trace->ds_file_groups, group_idx);
struct range group_range = { .set = false };
struct ctf_fs_ds_file_group *group = g_ptr_array_index(
trace->ds_file_groups, group_idx);
trace_intersection.end_ns = min(trace_intersection.end_ns,
group_range.end_ns);
trace_intersection.set = true;
trace_intersection.end_ns = min(trace_intersection.end_ns,
group_range.end_ns);
trace_intersection.set = true;
- status = bt_private_value_map_insert_entry(trace_info, "streams",
- bt_private_value_as_value(file_groups));
+ status = bt_value_map_insert_entry(trace_info, "streams",
+ file_groups);
BT_HIDDEN
enum bt_query_status trace_info_query(
struct bt_self_component_class_source *comp_class,
BT_HIDDEN
enum bt_query_status trace_info_query(
struct bt_self_component_class_source *comp_class,
path = bt_value_string_get(path_value);
normalized_path = bt_common_normalize_path(path, NULL);
path = bt_value_string_get(path_value);
normalized_path = bt_common_normalize_path(path, NULL);
GString *trace_path = tp_node->data;
GString *trace_name = tn_node->data;
enum bt_value_status status;
GString *trace_path = tp_node->data;
GString *trace_name = tn_node->data;
enum bt_value_status status;