diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-10-12 18:46:32 -0400 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-10-13 11:08:03 -0400 |
commit | f40a37cb4916f17806b8a89d8eb76f6943c69189 (patch) | |
tree | 93ff26936ab0da505c6165368cdf64b86c2fce80 /crypto/crypto_engine.c | |
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/20171012184632.2bd247cd@gandalf.local.home
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Diffstat (limited to 'crypto/crypto_engine.c')
0 files changed, 0 insertions, 0 deletions