Home
last modified time | relevance | path

Searched refs:ftrace (Results 1 – 25 of 28) sorted by relevance

12

/tools/perf/
Dbuiltin-ftrace.c133 static int reset_tracing_files(struct perf_ftrace *ftrace __maybe_unused) in reset_tracing_files()
154 static int set_tracing_pid(struct perf_ftrace *ftrace) in set_tracing_pid() argument
159 if (target__has_cpu(&ftrace->target)) in set_tracing_pid()
162 for (i = 0; i < perf_thread_map__nr(ftrace->evlist->core.threads); i++) { in set_tracing_pid()
164 perf_thread_map__pid(ftrace->evlist->core.threads, i)); in set_tracing_pid()
196 static int set_tracing_cpu(struct perf_ftrace *ftrace) in set_tracing_cpu() argument
198 struct perf_cpu_map *cpumap = ftrace->evlist->core.cpus; in set_tracing_cpu()
200 if (!target__has_cpu(&ftrace->target)) in set_tracing_cpu()
228 static int set_tracing_filters(struct perf_ftrace *ftrace) in set_tracing_filters() argument
232 ret = __set_tracing_filter("set_ftrace_filter", &ftrace->filters); in set_tracing_filters()
[all …]
Dcommand-list.txt15 perf-ftrace mainporcelain common
DBuild6 perf-y += builtin-ftrace.o
/tools/testing/selftests/ftrace/test.d/trigger/
Dtrigger-trace-marker-synthetic.tc21 if [ ! -d events/ftrace/print ]; then
26 if [ ! -f events/ftrace/print/trigger ]; then
31 if [ ! -f events/ftrace/print/hist ]; then
39 echo 'hist:keys=common_pid:ts0=common_timestamp.usecs if buf == "start"' > events/ftrace/print/trig…
40 …tamp.usecs-$ts0:onmatch(ftrace.print).latency($lat) if buf == "end"' >> events/ftrace/print/trigger
45 cnt=`grep 'hitcount: *1$' events/ftrace/print/hist | wc -l`
Dtrigger-trace-marker-hist.tc16 if [ ! -d events/ftrace/print ]; then
21 if [ ! -f events/ftrace/print/trigger ]; then
26 if [ ! -f events/ftrace/print/hist ]; then
33 echo 'hist:keys=common_pid' > events/ftrace/print/trigger
35 grep 'hitcount: *10$' events/ftrace/print/hist > /dev/null || \
Dtrigger-trace-marker-synthetic-kernel.tc21 if [ ! -d events/ftrace/print ]; then
31 if [ ! -f events/ftrace/print/trigger ]; then
36 if [ ! -f events/ftrace/print/hist ]; then
45 …ommon_timestamp.usecs-$ts0:onmatch(sched.sched_waking).latency($lat)' > events/ftrace/print/trigger
50 grep 'hitcount: *1$' events/ftrace/print/hist > /dev/null || \
Dtrigger-trace-marker-snapshot.tc21 if [ ! -d events/ftrace/print ]; then
26 if [ ! -f events/ftrace/print/trigger ]; then
51 echo 'snapshot' > events/ftrace/print/trigger
/tools/perf/Documentation/
Dperf-ftrace.txt1 perf-ftrace(1)
6 perf-ftrace - simple wrapper for kernel's ftrace functionality
12 'perf ftrace' <command>
16 The 'perf ftrace' command is a simple wrapper of kernel's ftrace
20 The following options apply to perf ftrace.
/tools/lib/traceevent/Documentation/
Dlibtraceevent-parse_event.txt48 buf = read_file("/sys/kernel/tracing/events/ftrace/print/format", &size);
49 if (tep_parse_event(tep, buf, size, "ftrace") != 0) {
50 /* Failed to parse the ftrace print format */
53 if (tep_parse_format(tep, &event, buf, size, "ftrace") != 0) {
54 /* Failed to parse the ftrace print format */
/tools/testing/selftests/rcutorture/bin/
Dkvm-recheck-rcuperf.sh23 if kvm-recheck-rcuperf-ftrace.sh $i
/tools/power/pm-graph/config/
Dfreeze.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dstandby.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend-x2-proc.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dfreeze-callgraph.cfg26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
34 # add the dmesg and ftrace log to the html output (default: false)
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend-dev.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dstandby-callgraph.cfg26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
34 # add the dmesg and ftrace log to the html output (default: false)
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dfreeze-dev.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dsuspend-callgraph.cfg26 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
34 # add the dmesg and ftrace log to the html output (default: false)
77 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dstandby-dev.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
76 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dexample.cfg25 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
33 # add the dmesg and ftrace log to the html output (default: false)
122 # gather detailed ftrace callgraph data on all timeline events (default: false)
Dcustom-timeline-functions.cfg25 # add the dmesg and ftrace log to the html output (default: false)
33 # gather detailed ftrace callgraph data on all timeline events (default: false)
57 # output folder for html, ftrace, and dmesg. Use {date} and {time} for current values
/tools/testing/selftests/ftrace/
DREADME3 This is a collection of testcases for ftrace tracing feature in the Linux
4 kernel. Since ftrace exports interfaces via the debugfs, we just need
7 Running the ftrace testcases
/tools/power/pm-graph/
DREADME49 and will capture dmesg and ftrace data. This data is transformed into a set of
100 patch must be applied to enable ftrace data:
135 files in subdirectory: suspend-mmddyy-HHMMSS. The ftrace file can
140 raw ftrace output: <hostname>_<mode>_ftrace.txt
257 # Add Logs: add the dmesg and ftrace log to the html output (def: false)
287 # Callgraph: gather ftrace callgraph data on all timeline events (def: false)
443 to set them in ftrace. It will then print out success or fail for you.
455 is ftrace supported: YES
490 script on the device, then pull the ftrace log back to the host and run
512 ftrace : supported
[all …]
/tools/testing/selftests/ftrace/test.d/
Dfunctions87 initialize_ftrace() { # Reset ftrace to initial-state
88 # As the initial state, ftrace will be set to nop tracer,

12