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 = atomic_inc_return(&data->disabled); > > if (likely(disabled == 1)) { > + /* > + * So far tracing doesn't support multiple buffers, so > + * we make an explicit call for now.
I'm working on it ;-) -- Steve > + */ > + if (unlikely(func_flags.val & TRACE_FUNC_OPT_PSTORE)) > + pstore_ftrace_call(ip, parent_ip); > pc = preempt_count(); > trace_function(tr, ip, parent_ip, flags, pc); > } -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/