aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2011-01-27 22:33:26 -0500
committerSteven Rostedt <[email protected]>2011-02-07 20:56:17 -0500
commit6d54057d76e25c91165cda0e6e007f1811faa2be (patch)
tree5f797433b9604e645e068a85c6f708db8b9dfbcd /tools/perf/scripts/python/syscall-counts.py
parent075de90c46562de1435db16c2129ec4ff92e5bd2 (diff)
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 <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions