Re: [PATCH 0/2] ftrace updates

Previous thread: [patch 2.6.27-rc3] rtc-cmos: strongly avoid "HPET emulation" by David Brownell on Friday, August 15, 2008 - 6:39 pm. (1 message)

Next thread: [PATCH 1/2] ftrace: do not init module on ftrace disabled by Steven Rostedt on Friday, August 15, 2008 - 6:40 pm. (1 message)
From: Steven Rostedt
Date: Friday, August 15, 2008 - 6:40 pm

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.

-- Steve

--

From: Ingo Molnar
Date: Saturday, August 16, 2008 - 6:32 am

applied to tip/tracing/ftrace - thanks Steve.

	Ingo
--

Previous thread: [patch 2.6.27-rc3] rtc-cmos: strongly avoid "HPET emulation" by David Brownell on Friday, August 15, 2008 - 6:39 pm. (1 message)

Next thread: [PATCH 1/2] ftrace: do not init module on ftrace disabled by Steven Rostedt on Friday, August 15, 2008 - 6:40 pm. (1 message)