Home
last modified time | relevance | path

Searched refs:trace_file (Results 1 – 7 of 7) sorted by relevance

/tools/perf/tests/shell/
A Drecord+zstd_comp_decomp.sh6 trace_file=$(mktemp /tmp/perf.data.XXX)
16 $perf_tool record -o "$trace_file" $gflag -z -F 5000 -- \
22 $perf_tool report -i "$trace_file" --header --stats | \
27 $perf_tool inject -i "$trace_file" -o "$trace_file.decomp" &&
28 …$perf_tool report -i "$trace_file" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.comp.output…
29 …$perf_tool report -i "$trace_file.decomp" --stdio -F comm,dso,sym | head -n -3 > "$trace_file.deco…
30 diff "$trace_file.comp.output" "$trace_file.decomp.output"
36 rm -f "$trace_file*"
/tools/power/x86/intel_pstate_tracer/
A Dintel_pstate_tracer.py66 global sample_num, last_sec_cpu, last_usec_cpu, start_time, testname, trace_file
382 def enable_trace(trace_file): argument
386 open(trace_file,'w').write("1")
391 def disable_trace(trace_file): argument
395 open(trace_file, 'w').write("0")
491 disable_trace(trace_file)
498 trace_file = "/sys/kernel/tracing/events/power/pstate_sample/enable" variable
575 enable_trace(trace_file)
578 disable_trace(trace_file)
/tools/power/x86/amd_pstate_tracer/
A Damd_pstate_trace.py56 global sample_num, last_sec_cpu, last_usec_cpu, start_time, test_name, trace_file
245 ipt.disable_trace(trace_file)
250 trace_file = "/sys/kernel/tracing/events/amd_cpu/enable" variable
324 ipt.enable_trace(trace_file)
326 ipt.disable_trace(trace_file)
/tools/perf/
A Dbuiltin-ftrace.c741 char *trace_file; in __cmd_ftrace() local
773 if (!trace_file) { in __cmd_ftrace()
778 trace_fd = open(trace_file, O_RDONLY); in __cmd_ftrace()
780 put_tracing_file(trace_file); in __cmd_ftrace()
1042 char *trace_file; in prepare_func_latency() local
1070 if (!trace_file) { in prepare_func_latency()
1075 fd = open(trace_file, O_RDONLY); in prepare_func_latency()
1081 put_tracing_file(trace_file); in prepare_func_latency()
1419 char *trace_file; in __cmd_profile() local
1454 if (!trace_file) { in __cmd_profile()
[all …]
/tools/perf/util/
A Dprobe-file.h40 int open_trace_file(const char *trace_file, bool readwrite);
A Dprobe-file.c109 int open_trace_file(const char *trace_file, bool readwrite) in open_trace_file() argument
114 ret = e_snprintf(buf, PATH_MAX, "%s/%s", tracing_path_mount(), trace_file); in open_trace_file()
/tools/testing/selftests/user_events/
A Dftrace_test.c24 const char *trace_file = "/sys/kernel/tracing/trace"; variable
29 int fd = open(trace_file, O_RDONLY); in trace_bytes()

Completed in 110 milliseconds