Re: [PATCH][RFC] ftrace: function oprofiler

From: Frédéric Weisbecker
Date: Sat Oct 25 2008 - 06:51:55 EST


Hi Steven,

2008/10/25 Steven Rostedt <rostedt@xxxxxxxxxxx>:
> # cat /debug/tracing/ftrace_profile | sort -brn | head -20
> 280075 : __rcu_read_unlock+0xb/0xa2
> 280065 : __rcu_read_lock+0x11/0xb3

The rcu function are on top of this profile. May be it's because you use
rcu when you touch your hash table.
Wouldn't be interesting to disable the counter adding for these
functions when they
are used at this time?

> +config FUNCTION_PROFILER
> + bool "Trace max stack"

Copy-paste error? :-)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/