3 TR
=/sys
/kernel
/debug
/tracing
/
4 clear_trace
() { # reset trace output
8 disable_tracing
() { # stop trace recording
9 echo 0 > $TR/tracing_on
12 enable_tracing
() { # start trace recording
13 echo 1 > $TR/tracing_on
16 reset_tracer
() { # reset the current tracer
17 echo nop
> $TR/current_tracer
23 echo "" > $TR/set_ftrace_filter
24 echo '*printk* *console* *wake* *serial* *lock*' > $TR/set_ftrace_notrace
26 echo "bpf_prog_test*" > $TR/set_graph_function
27 echo "" > $TR/set_graph_notrace
29 echo function_graph
> $TR/current_tracer
32 .
/test_progs
-t fentry