How to use ftrace to print partial function trace?

155 Views Asked by At

TLDR; Does ftrace have a function similiar to trace_printk() which can print out the current function's call stack?

I know how to print out the function or function graph trace using ftrace, but sometimes I want to check one place's function call trace without touching others, that's to say, keep the other place's tracer as nop so the trace_printk() function will only output one line log and the place I'm curious of as function tracer, so I can go deep in what has happened in that place, it that feasible?

0

There are 0 best solutions below