Re: [PATCH 4/8] tracing/function: Introduce persistent trace option

2012-07-10 Thread Steven Rostedt
On Mon, 2012-07-09 at 17:10 -0700, Anton Vorontsov wrote: > +static struct tracer_flags func_flags; > + > static void > function_trace_call(unsigned long ip, unsigned long parent_ip) > { > @@ -97,6 +106,12 @@ function_trace_call(unsigned long ip, unsigned long > parent_ip) > disabled =

Re: [PATCH 4/8] tracing/function: Introduce persistent trace option

2012-07-10 Thread Steven Rostedt
On Mon, 2012-07-09 at 17:10 -0700, Anton Vorontsov wrote: +static struct tracer_flags func_flags; + static void function_trace_call(unsigned long ip, unsigned long parent_ip) { @@ -97,6 +106,12 @@ function_trace_call(unsigned long ip, unsigned long parent_ip) disabled =

[PATCH 4/8] tracing/function: Introduce persistent trace option

2012-07-09 Thread Anton Vorontsov
This patch introduces 'func_ptrace' option, now available in /sys/kernel/debug/tracing/options when function tracer is selected. The patch also adds some tiny code that calls back to pstore to record the trace. The callback is no-op when PSTORE=n. Signed-off-by: Anton Vorontsov ---

[PATCH 4/8] tracing/function: Introduce persistent trace option

2012-07-09 Thread Anton Vorontsov
This patch introduces 'func_ptrace' option, now available in /sys/kernel/debug/tracing/options when function tracer is selected. The patch also adds some tiny code that calls back to pstore to record the trace. The callback is no-op when PSTORE=n. Signed-off-by: Anton Vorontsov