aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/python.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2011-02-04 04:25:46 +0000
committerSteven Rostedt <[email protected]>2011-02-08 01:56:20 +0000
commit75b8e98263fdb0bfbdeba60d4db463259f1fe8a2 (patch)
treefdd1e66316b049523c76e34c816a812598d07a3c /tools/perf/util/python.c
parenttracing/filter: Increase the max preds to 2^14 (diff)
downloadkernel-75b8e98263fdb0bfbdeba60d4db463259f1fe8a2.tar.gz
kernel-75b8e98263fdb0bfbdeba60d4db463259f1fe8a2.zip
tracing/filter: Swap entire filter of events
When creating a new filter, instead of allocating the filter to the event call first and then processing the filter, it is easier to process a temporary filter and then just swap it with the call filter. By doing this, it simplifies the code. A filter is allocated and processed, when it is done, it is swapped with the call filter, synchronize_sched() is called to make sure all callers are done with the old filter (filters are called with premption disabled), and then the old filter is freed. Cc: Tom Zanussi <[email protected]> Signed-off-by: Steven Rostedt <[email protected]>
Diffstat (limited to 'tools/perf/util/python.c')
0 files changed, 0 insertions, 0 deletions