From: Tom Zanussi Date: Sun, 22 Mar 2009 08:30:49 +0000 (-0500) Subject: tracing: add ring_buffer_event_discard() to ring buffer X-Git-Tag: v2.6.30-rc1~2^2~13^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2d622719f1572ef31e0616444a515eba3094d050;p=pandora-kernel.git tracing: add ring_buffer_event_discard() to ring buffer This patch overloads RINGBUF_TYPE_PADDING to provide a way to discard events from the ring buffer, for the event-filtering mechanism introduced in a subsequent patch. I did the initial version but thanks to Steven Rostedt for adding the parts that actually made it work. ;-) Signed-off-by: Tom Zanussi Acked-by: Frederic Weisbecker Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed