/tools/perf/ |
D | builtin-ftrace.c | 133 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 …]
|
D | command-list.txt | 15 perf-ftrace mainporcelain common
|
D | Build | 6 perf-y += builtin-ftrace.o
|
/tools/testing/selftests/ftrace/test.d/trigger/ |
D | trigger-trace-marker-synthetic.tc | 21 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`
|
D | trigger-trace-marker-hist.tc | 16 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 || \
|
D | trigger-trace-marker-synthetic-kernel.tc | 21 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 || \
|
D | trigger-trace-marker-snapshot.tc | 21 if [ ! -d events/ftrace/print ]; then 26 if [ ! -f events/ftrace/print/trigger ]; then 51 echo 'snapshot' > events/ftrace/print/trigger
|
/tools/perf/Documentation/ |
D | perf-ftrace.txt | 1 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/ |
D | libtraceevent-parse_event.txt | 48 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/ |
D | kvm-recheck-rcuperf.sh | 23 if kvm-recheck-rcuperf-ftrace.sh $i
|
/tools/power/pm-graph/config/ |
D | freeze.cfg | 25 # 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)
|
D | standby.cfg | 25 # 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)
|
D | suspend-x2-proc.cfg | 25 # 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)
|
D | freeze-callgraph.cfg | 26 # 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)
|
D | suspend-dev.cfg | 25 # 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)
|
D | suspend.cfg | 25 # 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)
|
D | standby-callgraph.cfg | 26 # 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)
|
D | freeze-dev.cfg | 25 # 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)
|
D | suspend-callgraph.cfg | 26 # 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)
|
D | standby-dev.cfg | 25 # 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)
|
D | example.cfg | 25 # 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)
|
D | custom-timeline-functions.cfg | 25 # 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/ |
D | README | 3 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/ |
D | README | 49 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/ |
D | functions | 87 initialize_ftrace() { # Reset ftrace to initial-state 88 # As the initial state, ftrace will be set to nop tracer,
|