diff options
author | Steven Rostedt <srostedt@redhat.com> | 2011-01-28 03:33:26 (GMT) |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2011-02-08 01:56:17 (GMT) |
commit | 6d54057d76e25c91165cda0e6e007f1811faa2be (patch) | |
tree | 5f797433b9604e645e068a85c6f708db8b9dfbcd /Documentation/input/sentelic.txt | |
parent | 075de90c46562de1435db16c2129ec4ff92e5bd2 (diff) | |
download | linux-6d54057d76e25c91165cda0e6e007f1811faa2be.tar.xz |
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 <tzanussi@gmail.com>
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'Documentation/input/sentelic.txt')
0 files changed, 0 insertions, 0 deletions