summaryrefslogtreecommitdiffstats
path: root/drivers/oprofile/cpu_buffer.c
diff options
context:
space:
mode:
authorSteven Rostedt <srostedt@redhat.com>2010-03-29 20:25:18 +0200
committerSteven Rostedt <rostedt@goodmis.org>2010-04-01 04:56:59 +0200
commiteb0c53771fb2f5f66b0edb3ebce33be4bbf1c285 (patch)
tree1b5d4fd86e4c72482fa07aa6d57ba9f6cab72423 /drivers/oprofile/cpu_buffer.c
parenttracing: Remove side effect from module tracepoints that caused a GPF (diff)
downloadlinux-eb0c53771fb2f5f66b0edb3ebce33be4bbf1c285.tar.xz
linux-eb0c53771fb2f5f66b0edb3ebce33be4bbf1c285.zip
tracing: Fix compile error in module tracepoints when MODULE_UNLOAD not set
If modules are configured in the build but unloading of modules is not, then the refcnt is not defined. Place the get/put module tracepoints under CONFIG_MODULE_UNLOAD since it references this field in the module structure. As a side-effect, this patch also reduces the code when MODULE_UNLOAD is not set, because these unused tracepoints are not created. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'drivers/oprofile/cpu_buffer.c')
0 files changed, 0 insertions, 0 deletions