Last active
May 24, 2019 03:24
-
-
Save jagannath-sahoo/66744e4b9d91452ef8d98ae3d27ac932 to your computer and use it in GitHub Desktop.
Ftrace from Google
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ************function_graph****************** | |
| ******************************************** | |
| echo 0 > /sys/kernel/debug/tracing/tracing_on | |
| trace-cmd start -p function_graph -g ip_rcv | |
| trace-cmd stop | |
| cat /sys/kernel/debug/tracing/trace | |
| ******************************************** | |
| cat tracing_on | |
| echo 1 > tracing_on | |
| echo function > current_tracer | |
| echo nop > current_tracer | |
| cat trace | |
| echo function > current_tracer | |
| cat trace | |
| cat trace > /home/jagannath/Desktop/trace.txt | |
| echo function > current_tracer | |
| echo 0 > tracing_on | |
| cat trace | |
| echo nop > current_tracer | |
| echo 'Hello world!' > trace_marker | |
| echo 'Hello world' > trace_marker | |
| echo "Hello world" > trace_marker | |
| echo 1 > tracing_on | |
| echo 'hello world!' > trace_marker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment