diff options
author | Steven Rostedt (VMware) <[email protected]> | 2017-10-12 18:46:32 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <[email protected]> | 2017-10-13 11:08:03 -0400 |
commit | f40a37cb4916f17806b8a89d8eb76f6943c69189 (patch) | |
tree | 93ff26936ab0da505c6165368cdf64b86c2fce80 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e83543b495598233c3741b23bed7c82161c93e24 (diff) |
tracing, memcg, vmscan: Hide trace events when not in use
When trace events are defined but not used they still create data
structures and functions for their use, even though nothing may be
using them.
The trace events mm_vmscan_memcg_reclaim_begin,
mm_vmscan_memcg_softlimit_reclaim_begin, mm_vmscan_memcg_reclaim_end,
and mm_vmscan_memcg_softlimit_reclaim_end are not used if CONFIG_MEMCG
is not defined. Do not create these trace events unless CONFIG_MEMCG is
defined.
Link: http://lkml.kernel.org/r/[email protected]
Acked-by: Michal Hocko <[email protected]>
Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions