mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 0/5] ftrace: recordmcount for sh and arm, plus permanent disable API
@ 2008-11-21 20:29 Steven Rostedt
  2008-11-21 20:29 ` [PATCH 1/5] ftrace: Specify $alignment for sh architecture Steven Rostedt
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Steven Rostedt @ 2008-11-21 20:29 UTC (permalink / raw)
  To: linux-kernel
  Cc: Ingo Molnar, Andrew Morton, Thomas Gleixner, Matt Fleming,
	Russell King - ARM Linux, Sam Ravnborg, Jim Radford, Paul Mundt


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(-)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-11-23 10:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-21 20:29 [PATCH 0/5] ftrace: recordmcount for sh and arm, plus permanent disable API Steven Rostedt
2008-11-21 20:29 ` [PATCH 1/5] ftrace: Specify $alignment for sh architecture Steven Rostedt
2008-11-21 20:29 ` [PATCH 2/5] ftrace: mcountrecord.pl for arm Steven Rostedt
2008-11-21 20:29 ` [PATCH 3/5] ring-buffer: add tracing_off_permanent Steven Rostedt
2008-11-21 20:29 ` [PATCH 4/5] ftrace: add ftrace_off_permanent Steven Rostedt
2008-11-21 20:29 ` [PATCH 5/5] trace: fix compiler warning in branch profiler Steven Rostedt
2008-11-23 10:51 ` [PATCH 0/5] ftrace: recordmcount for sh and arm, plus permanent disable API Ingo Molnar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®