From: Steven Rostedt Date: Fri, 28 Jan 2011 03:33:26 +0000 (-0500) Subject: tracing/filter: Have no filter return a match X-Git-Tag: v2.6.39-rc1~510^2~39^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d54057d76e25c91165cda0e6e007f1811faa2be;p=pandora-kernel.git tracing/filter: Have no filter return a match The n_preds field of a file can change at anytime, and even can become zero, just as the filter is about to be processed by an event. In the case that is zero on entering the filter, return 1, telling the caller the event matchs and should be trace. Also use a variable and assign it with ACCESS_ONCE() such that the count stays consistent within the function. Cc: Tom Zanussi Signed-off-by: Steven Rostedt --- Reading git-diff-tree failed