]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/blob - tools/testing/selftests/ftrace/test.d/functions
Merge branches 'acpi-fan', 'acpi-video' and 'acpi-ec'
[mirror_ubuntu-focal-kernel.git] / tools / testing / selftests / ftrace / test.d / functions
1
2 clear_trace() { # reset trace output
3 echo > trace
4 }
5
6 disable_tracing() { # stop trace recording
7 echo 0 > tracing_on
8 }
9
10 enable_tracing() { # start trace recording
11 echo 1 > tracing_on
12 }
13
14 reset_tracer() { # reset the current tracer
15 echo nop > current_tracer
16 }