Re: [PATCH 0/2] ftrace updates

From: Ingo Molnar
Date: Sat Aug 16 2008 - 09:33:26 EST



* Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

> Due to the new mcount recording method, the assumptions about the
> records that hold the mcount locations have changed. Now we need to
> protect reading and writing of the records between module load and
> reading of the debugfs files. There is not much contention here, but
> they need to be protected none the less.
>
> I simply use the ftrace_lock to accomplish this. The ftrace_lock
> should never be held under interrupt context so disabling interrupts
> should not be necessary. I've run this under lockdep and lockdep has
> not complained.

applied to tip/tracing/ftrace - thanks Steve.

Ingo
--
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/