| /tools/testing/selftests/net/tcp_ao/lib/ |
| A D | ftrace.c | 181 if (!tracer->error) in tracer_set_error() 201 while (tracer->next_line_ind < tracer->saved_lines_size) { in tracer_thread_func() 202 char **lp = &tracer->saved_lines[tracer->next_line_ind]; in tracer_thread_func() 281 if (tracer->error) in stop_trace_thread() 346 tracer = malloc(sizeof(*tracer)); in create_ftracer() 347 if (!tracer) { in create_ftracer() 352 memset(tracer, 0, sizeof(*tracer)); in create_ftracer() 406 return tracer; in create_ftracer() 417 free(tracer); in create_ftracer() 429 tracer->destructor(tracer); in __destroy_ftracer() [all …]
|
| A D | ftrace-tcp.c | 479 static void check_free_events(struct test_ftracer *tracer) in check_free_events() argument 489 nr = tracer_get_savedlines_nr(tracer); in check_free_events() 490 lines = tracer_get_savedlines(tracer); in check_free_events() 501 static int setup_tcp_trace_events(struct test_ftracer *tracer) in setup_tcp_trace_events() argument 519 ret = setup_trace_event(tracer, event_name, filter); in setup_tcp_trace_events() 529 static void aolib_tracer_destroy(struct test_ftracer *tracer) in aolib_tracer_destroy() argument 531 check_free_events(tracer); in aolib_tracer_destroy()
|
| A D | aolib.h | 734 void (*destructor)(struct test_ftracer *tracer), 737 extern int setup_trace_event(struct test_ftracer *tracer, 739 extern void destroy_ftracer(struct test_ftracer *tracer); 740 extern const size_t tracer_get_savedlines_nr(struct test_ftracer *tracer); 741 extern const char **tracer_get_savedlines(struct test_ftracer *tracer);
|
| /tools/testing/selftests/ftrace/test.d/direct/ |
| A D | ftrace-direct.tc | 19 tracer=$1 22 echo $tracer > current_tracer 28 echo $tracer > current_tracer 35 echo $tracer > current_tracer 41 echo $tracer > current_tracer
|
| /tools/testing/ktest/examples/bootconfigs/ |
| A D | tracing.bconf | 2 tracer = function_graph; 26 tracer = function;
|
| A D | boottrace.bconf | 35 tracer = "function" 44 tracer = "function"
|
| A D | functiongraph.bconf | 3 tracer = function_graph
|
| /tools/perf/Documentation/ |
| A D | perf-ftrace.txt | 64 --tracer=:: 87 Select function tracer and set function filter on the given 95 Select function tracer and do not trace functions given by the 103 - call-graph - Display kernel stack trace for function tracer. 104 - irq-info - Display irq context info for function tracer. 108 Select function_graph tracer and set graph filter on the given 116 Select function_graph tracer and set graph notrace filter on the 118 for the function_graph tracer only and disables tracing for function 130 - nosleep-time - Measure on-CPU time only for function_graph tracer. 134 - depth=<n> - Set max depth for function graph tracer to follow. [all …]
|
| A D | perf-config.txt | 666 ftrace.tracer:: 667 Can be used to select the default tracer when neither -G nor
|
| A D | perf-probe.txt | 199 …h fixed index (e.g. array[1], var->array[0], var->pointer[2]), or kprobe-tracer argument format (e…
|
| /tools/testing/selftests/amd-pstate/ |
| A D | gitsource.sh | 62 rm -rf results/tracer-gitsource* 85 $TRACER -n tracer-gitsource-$1-$2 -i $TRACER_INTERVAL > /dev/null 2>&1 & 104 …awk '{print $5}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-d… 108 …awk '{print $7}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-f… 112 …awk '{print $11}' results/tracer-gitsource-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_GIT-…
|
| A D | tbench.sh | 57 rm -rf results/tracer-tbench* 67 $TRACER -n tracer-tbench-$1-$2 -i $TRACER_INTERVAL > /dev/null 2>&1 & 86 …awk '{print $5}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-d… 90 …awk '{print $7}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-f… 94 …awk '{print $11}' results/tracer-tbench-$1-$2/cpu.csv | sed -e '1d' | sed s/,// > $OUTFILE_TBENCH-…
|
| /tools/perf/util/ |
| A D | ftrace.h | 15 const char *tracer; member
|
| /tools/testing/selftests/ftrace/test.d/ |
| A D | functions | 13 reset_tracer() { # reset the current tracer 108 # As the initial state, ftrace will be set to nop tracer, 147 t=${i%:tracer} 155 echo "Required tracer $t is not configured."
|
| /tools/perf/ |
| A D | builtin-ftrace.c | 731 ftrace->tracer = "function_graph"; in select_tracer() 733 ftrace->tracer = "function"; in select_tracer() 736 pr_debug("%s tracer is used\n", ftrace->tracer); in select_tracer() 765 if (write_tracing_file("current_tracer", ftrace->tracer) < 0) { in __cmd_ftrace() 766 pr_err("failed to set current_tracer to %s\n", ftrace->tracer); in __cmd_ftrace() 1207 ftrace->tracer = "function_graph"; in prepare_func_profile() 1446 if (write_tracing_file("current_tracer", ftrace->tracer) < 0) { in __cmd_profile() 1447 pr_err("failed to set current_tracer to %s\n", ftrace->tracer); in __cmd_profile() 1532 ftrace->tracer = value; in perf_ftrace_config() 1750 .tracer = DEFAULT_TRACER, in cmd_ftrace() [all …]
|
| A D | design.txt | 148 tracer is available, and event_id values can be obtained from
|
| /tools/tracing/latency/ |
| A D | latency-collector.c | 177 char *tracer; member 609 restore_file(TR_CURRENT, &save_state.tracer, current_tracer); in restore_ftrace() 655 save_state.tracer = NULL; in init_save_state() 1374 char *tracer; in save_and_disable_tracer() local 1380 tracer = read_file(TR_CURRENT, ERR_EXIT); in save_and_disable_tracer() 1383 if (needs_change(tracer, NOP_TRACER)) { in save_and_disable_tracer() 1388 tracer); in save_and_disable_tracer() 1393 "Use the -F [--force] option to disregard the current tracer.\n", tracer); in save_and_disable_tracer() 1400 save_state.tracer = tracer; in save_and_disable_tracer()
|
| /tools/tracing/rtla/src/ |
| A D | trace.c | 18 enum tracefs_tracers tracer; in enable_tracer_by_name() local 21 tracer = TRACEFS_TRACER_CUSTOM; in enable_tracer_by_name() 25 retval = tracefs_tracer_set(inst, tracer, tracer_name); in enable_tracer_by_name()
|
| A D | osnoise.h | 155 struct osnoise_tool *osnoise_init_trace_tool(char *tracer);
|
| A D | osnoise.c | 1059 struct osnoise_tool *osnoise_init_trace_tool(char *tracer) in osnoise_init_trace_tool() argument 1074 retval = enable_tracer_by_name(trace->trace.inst, tracer); in osnoise_init_trace_tool() 1076 err_msg("Could not enable %s tracer for tracing\n", tracer); in osnoise_init_trace_tool()
|
| /tools/bootconfig/scripts/ |
| A D | bconf2ftrace.sh | 257 set_value_of ${instance}.tracer ${instancedir}/current_tracer
|
| /tools/testing/selftests/seccomp/ |
| A D | seccomp_bpf.c | 1628 pid_t tracer) in teardown_trace_fixture() argument 1630 if (tracer) { in teardown_trace_fixture() 1632 ASSERT_EQ(0, kill(tracer, SIGUSR1)); in teardown_trace_fixture() 1633 ASSERT_EQ(tracer, waitpid(tracer, &status, 0)); in teardown_trace_fixture() 1666 pid_t tracer; in FIXTURE() local 1692 self->tracer = setup_trace_fixture(_metadata, tracer_poke, in FIXTURE_SETUP() 1698 teardown_trace_fixture(_metadata, self->tracer); in FIXTURE_TEARDOWN() 2043 pid_t tracer, mytid, mypid, parent; in FIXTURE() local 2171 self->tracer = setup_trace_fixture(_metadata, in FIXTURE_SETUP() 2189 teardown_trace_fixture(_metadata, self->tracer); in FIXTURE_TEARDOWN()
|
| /tools/power/pm-graph/ |
| A D | bootgraph.py | 461 tracer = sysvals.fgetVal('current_tracer').strip() 462 if tracer != 'function_graph':
|
| A D | sleepgraph.py | 3042 def setTracerType(self, tracer): argument 3043 if(tracer == 'function_graph'): 3046 elif(tracer == 'nop'): 3049 doError('Invalid tracer format: [%s]' % tracer)
|
| /tools/memory-model/Documentation/ |
| A D | litmus-tests.txt | 993 alternatives mechanism, function tracer, Berkeley Packet Filter
|