From: Tom Zanussi Date: Wed, 8 Apr 2009 08:15:54 +0000 (-0500) Subject: tracing/filters: use ring_buffer_discard_commit() in filter_check_discard() X-Git-Tag: v2.6.31-rc1~401^2~170 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb02ce017dd83985041a7e54c6449f92d53b026f;p=pandora-kernel.git tracing/filters: use ring_buffer_discard_commit() in filter_check_discard() This patch changes filter_check_discard() to make use of the new ring_buffer_discard_commit() function and modifies the current users to call the old commit function in the non-discard case. It also introduces a version of filter_check_discard() that uses the global trace buffer (filter_current_check_discard()) for those cases. v2 changes: - fix compile error noticed by Ingo Molnar Signed-off-by: Tom Zanussi Cc: Steven Rostedt Cc: fweisbec@gmail.com LKML-Reference: <1239178554.10295.36.camel@tropicana> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed