tracing/filters: use ring_buffer_discard_commit for discarded events
authorSteven Rostedt <srostedt@redhat.com>
Thu, 2 Apr 2009 05:16:59 +0000 (01:16 -0400)
committerIngo Molnar <mingo@elte.hu>
Mon, 13 Apr 2009 22:00:54 +0000 (00:00 +0200)
The ring_buffer_discard_commit makes better usage of the ring_buffer
when an event has been discarded. It tries to remove it completely if
possible.

This patch converts the trace event filtering to use
ring_buffer_discard_commit instead of the ring_buffer_event_discard.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>

No differences found