Messages in this thread | | | Date | Thu, 30 Apr 2009 22:22:10 -0400 | From | Steven Rostedt <> | Subject | [PATCH 0/3] [GIT PULL] tracing/ringbuffer: updates for tip |
| |
Ingo,
Here's some udpates to the ring buffer. Mainly, exporting the counters (and adding new ones) to userspace. We keep track of entries and overruns but currently they only get displayed with the latency format.
This adds them per cpu in the directory:
/debugfs/tracing/per_cpu/cpuX/stats
Please pull the latest tip/tracing/ftrace tree, which can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git tip/tracing/ftrace
Steven Rostedt (3): ring-buffer: add counters for commit overrun and nmi dropped entries tracing: export stats of ring buffers to userspace ring-buffer: make cpu buffer entries counter atomic
---- include/linux/ring_buffer.h | 2 + kernel/trace/ring_buffer.c | 70 +++++++++++++++++++++++++++++++++++------- kernel/trace/trace.c | 42 +++++++++++++++++++++++++ 3 files changed, 102 insertions(+), 12 deletions(-) --
| |