namhyung / uftrace

Function graph tracer for C/C++/Rust/Python
https://uftrace.github.io/slide/
GNU General Public License v2.0
3.07k stars 474 forks source link

Hide kernel functions with --no-kernel option #1735

Open honggyukim opened 1 year ago

honggyukim commented 1 year ago

The recent kernel shows more and more kernel functions which look unrelated so the trace output with kernel functions become too much verbose.

It'd be better to hide those kernel functions when users want, so I would like to add an option --no-kernel just like --no-libcall.

This option is only useful in analysis commands.

namhyung commented 1 year ago

I think we can use -N .@kernel.

honggyukim commented 1 year ago

Does it work in replay command?

namhyung commented 1 year ago

I think so.

honggyukim commented 1 year ago

I can’t run it now but I saw the -N func@kernel didn’t work in replay command unexpectedly.

namhyung commented 1 year ago

Then it's a bug, how did it run?