summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-dw-mid.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <rostedt@goodmis.org>2017-10-13 00:46:32 +0200
committerSteven Rostedt (VMware) <rostedt@goodmis.org>2017-10-13 17:08:03 +0200
commitf40a37cb4916f17806b8a89d8eb76f6943c69189 (patch)
tree93ff26936ab0da505c6165368cdf64b86c2fce80 /drivers/spi/spi-dw-mid.c
parenttracing/xen: Hide events that are not used when X86_PAE is not defined (diff)
downloadlinux-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/spi/spi-dw-mid.c')
0 files changed, 0 insertions, 0 deletions