diff options
author | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-10-13 00:46:32 +0200 |
---|---|---|
committer | Steven Rostedt (VMware) <rostedt@goodmis.org> | 2017-10-13 17:08:03 +0200 |
commit | f40a37cb4916f17806b8a89d8eb76f6943c69189 (patch) | |
tree | 93ff26936ab0da505c6165368cdf64b86c2fce80 /drivers/hid/hid-saitek.c | |
parent | tracing/xen: Hide events that are not used when X86_PAE is not defined (diff) | |
download | linux-f40a37cb4916f17806b8a89d8eb76f6943c69189.tar.xz linux-f40a37cb4916f17806b8a89d8eb76f6943c69189.zip |
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 'drivers/hid/hid-saitek.c')
0 files changed, 0 insertions, 0 deletions