I have recently started working with ftrace. I able to get function graph trace using With the above commands I can see time taken by function to finish before ‘ } ‘ But I want to script for listing functions taking more time than 10ms. Can anyone help me to achieve this? Answer TLDR it can be achieved by explanation
Tag: ftrace
How to print full trace file of trace_printk in ftrace?
I am using trace_printk() to print some numbers (they are around a million number). However when I check /sys/kernel/debug/tracing/trace … only a part of the full range is printed. Can anyone suggest me how to increase the buffer size or any way to print the full range via any option. *Note: I don’t care about the other output of ftrace.