diff options
| author | Steven Rostedt (VMware) <[email protected]> | 2017-10-12 22:16:41 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2017-12-11 17:17:39 +0000 |
| commit | 9122caf99b85c0f16938419547d5a9a84ae287a4 (patch) | |
| tree | 9ace6627305fb4f9402935f28f29c0a746d1f653 /tools/perf/scripts/python/compaction-times.py | |
| parent | srcu: Prohibit call_srcu() use under raw spinlocks (diff) | |
| download | kernel-9122caf99b85c0f16938419547d5a9a84ae287a4.tar.gz kernel-9122caf99b85c0f16938419547d5a9a84ae287a4.zip | |
tracing, rcu: Hide trace event rcu_nocb_wake when not used
The trace event rcu_nocb_wake is only used when CONFIG_RCU_NOCB_CPU is
defined. But the trace event is defined regardless. As defined trace
events take up memory, it is a waste to have it defined when not used.
Surround the trace event with an #ifdef to have it only defined when it
is used.
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
