Lines Matching refs:node
25 trace_boot_set_instance_options(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_instance_options() argument
33 xbc_node_for_each_array_value(node, "options", anode, p) { in trace_boot_set_instance_options()
43 p = xbc_node_find_value(node, "tracing_on", NULL); in trace_boot_set_instance_options()
53 p = xbc_node_find_value(node, "trace_clock", NULL); in trace_boot_set_instance_options()
59 p = xbc_node_find_value(node, "buffer_size", NULL); in trace_boot_set_instance_options()
68 p = xbc_node_find_value(node, "cpumask", NULL); in trace_boot_set_instance_options()
83 trace_boot_enable_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_events() argument
89 xbc_node_for_each_array_value(node, "events", anode, p) { in trace_boot_enable_events()
102 trace_boot_add_kprobe_event(struct xbc_node *node, const char *event) in trace_boot_add_kprobe_event() argument
110 xbc_node_for_each_array_value(node, "probes", anode, val) { in trace_boot_add_kprobe_event()
130 trace_boot_add_kprobe_event(struct xbc_node *node, const char *event) in trace_boot_add_kprobe_event() argument
139 trace_boot_add_synth_event(struct xbc_node *node, const char *event) in trace_boot_add_synth_event() argument
153 xbc_node_for_each_array_value(node, "fields", anode, p) { in trace_boot_add_synth_event()
167 trace_boot_add_synth_event(struct xbc_node *node, const char *event) in trace_boot_add_synth_event() argument
301 struct xbc_node *node; in trace_boot_hist_add_handlers() local
307 xbc_node_for_each_subkey(hnode, node) { in trace_boot_hist_add_handlers()
308 p = xbc_node_get_data(node); in trace_boot_hist_add_handlers()
312 ret = trace_boot_hist_add_one_handler(node, bufp, end, handler, param); in trace_boot_hist_add_handlers()
348 struct xbc_node *node, *knode; in trace_boot_compose_hist_cmd() local
377 node = xbc_node_find_subkey(hnode, "var"); in trace_boot_compose_hist_cmd()
378 if (node) { in trace_boot_compose_hist_cmd()
379 xbc_node_for_each_key_value(node, knode, p) { in trace_boot_compose_hist_cmd()
396 node = xbc_node_find_subkey(hnode, "onmax"); in trace_boot_compose_hist_cmd()
397 if (node && trace_boot_hist_add_handlers(node, &buf, end, "var") < 0) in trace_boot_compose_hist_cmd()
399 node = xbc_node_find_subkey(hnode, "onchange"); in trace_boot_compose_hist_cmd()
400 if (node && trace_boot_hist_add_handlers(node, &buf, end, "var") < 0) in trace_boot_compose_hist_cmd()
402 node = xbc_node_find_subkey(hnode, "onmatch"); in trace_boot_compose_hist_cmd()
403 if (node && trace_boot_hist_add_handlers(node, &buf, end, "event") < 0) in trace_boot_compose_hist_cmd()
422 struct xbc_node *node; in trace_boot_init_histograms() local
426 xbc_node_for_each_subkey(hnode, node) { in trace_boot_init_histograms()
427 p = xbc_node_get_data(node); in trace_boot_init_histograms()
431 if (trace_boot_compose_hist_cmd(node, buf, size) == 0) { in trace_boot_init_histograms()
518 trace_boot_init_events(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_events() argument
524 node = xbc_node_find_subkey(node, "event"); in trace_boot_init_events()
525 if (!node) in trace_boot_init_events()
528 xbc_node_for_each_subkey(node, gnode) { in trace_boot_init_events()
554 #define trace_boot_enable_events(tr, node) do {} while (0) argument
555 #define trace_boot_init_events(tr, node) do {} while (0) argument
560 trace_boot_set_ftrace_filter(struct trace_array *tr, struct xbc_node *node) in trace_boot_set_ftrace_filter() argument
566 xbc_node_for_each_array_value(node, "ftrace.filters", anode, p) { in trace_boot_set_ftrace_filter()
576 xbc_node_for_each_array_value(node, "ftrace.notraces", anode, p) { in trace_boot_set_ftrace_filter()
588 #define trace_boot_set_ftrace_filter(tr, node) do {} while (0) argument
592 trace_boot_enable_tracer(struct trace_array *tr, struct xbc_node *node) in trace_boot_enable_tracer() argument
596 trace_boot_set_ftrace_filter(tr, node); in trace_boot_enable_tracer()
598 p = xbc_node_find_value(node, "tracer", NULL); in trace_boot_enable_tracer()
605 if (xbc_node_find_value(node, "alloc_snapshot", NULL)) { in trace_boot_enable_tracer()
612 trace_boot_init_one_instance(struct trace_array *tr, struct xbc_node *node) in trace_boot_init_one_instance() argument
614 trace_boot_set_instance_options(tr, node); in trace_boot_init_one_instance()
615 trace_boot_init_events(tr, node); in trace_boot_init_one_instance()
616 trace_boot_enable_events(tr, node); in trace_boot_init_one_instance()
617 trace_boot_enable_tracer(tr, node); in trace_boot_init_one_instance()
621 trace_boot_init_instances(struct xbc_node *node) in trace_boot_init_instances() argument
627 node = xbc_node_find_subkey(node, "instance"); in trace_boot_init_instances()
628 if (!node) in trace_boot_init_instances()
631 xbc_node_for_each_subkey(node, inode) { in trace_boot_init_instances()