Messages in this thread | | | Date | Fri, 21 Nov 2008 15:29:32 -0500 | From | Steven Rostedt <> | Subject | [PATCH 0/5] ftrace: recordmcount for sh and arm, plus permanent disable API |
| |
Ingo,
The first two patches are changes to recordmcount.pl that I've tested to make sure they do not break x86 or PPC. These are changes that are needed for sh and ARM. I do not include the changes needed in the arch itself, those need to go through the arch maintainers.
The other patches are for the permanent disabling of the tracer and ring buffer.
I know you prefered having the ring buffer disable flag be 0 1 -1 for off, on, and disable respectively, but this becomes a problem to implement safely for all archs. What I did instead was to have two bits in the flags. On is a simple on/off bit for the users to use, the other is a set once flag that will permantly disable the ring buffers once set. This allows me to use the set/clear bit API that works on all architectures nicely. And I personally find this easier to understand.
The following patches are in:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git
branch: tip/devel
Jim Radford (1): ftrace: mcountrecord.pl for arm
Matt Fleming (1): ftrace: Specify $alignment for sh architecture
Steven Rostedt (3): ring-buffer: add tracing_off_permanent ftrace: add ftrace_off_permanent trace: fix compiler warning in branch profiler
---- include/linux/ftrace.h | 2 + include/linux/ring_buffer.h | 1 + kernel/trace/ring_buffer.c | 79 ++++++++++++++++++++++++++++++++++++------- kernel/trace/trace.c | 15 ++++++++ kernel/trace/trace_branch.c | 10 +++--- scripts/recordmcount.pl | 11 +++++- 6 files changed, 98 insertions(+), 20 deletions(-)
| |