1
linux/fs/gfs2
Li Zefan d0b6e04a4c tracing/events: Move TRACE_SYSTEM outside of include guard
If TRACE_INCLDUE_FILE is defined, <trace/events/TRACE_INCLUDE_FILE.h>
will be included and compiled, otherwise it will be
<trace/events/TRACE_SYSTEM.h>

So TRACE_SYSTEM should be defined outside of #if proctection,
just like TRACE_INCLUDE_FILE.

Imaging this scenario:

 #include <trace/events/foo.h>
    -> TRACE_SYSTEM == foo
 ...
 #include <trace/events/bar.h>
    -> TRACE_SYSTEM == bar
 ...
 #define CREATE_TRACE_POINTS
 #include <trace/events/foo.h>
    -> TRACE_SYSTEM == bar !!!

and then bar.h will be included and compiled.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <4A5A9CF1.2010007@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2009-07-13 10:59:55 +02:00
..
acl.c
acl.h
aops.c GFS2: Clean up some file names 2009-05-22 10:01:55 +01:00
bmap.c GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
bmap.h
dentry.c GFS2: Clean up some file names 2009-05-22 10:01:55 +01:00
dir.c GFS2: Improve resource group error handling 2009-05-20 10:48:47 +01:00
dir.h
eaops.c
eaops.h
eattr.c GFS2: Improve resource group error handling 2009-05-20 10:48:47 +01:00
eattr.h
export.c GFS2: Clean up some file names 2009-05-22 10:01:55 +01:00
file.c GFS2: Remove unused variable 2009-06-03 10:07:44 +01:00
gfs2.h
glock.c GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
glock.h
glops.c GFS2: Improve resource group error handling 2009-05-20 10:48:47 +01:00
glops.h
incore.h GFS2: Be more aggressive in reclaiming unlinked inodes 2009-05-21 15:18:19 +01:00
inode.c GFS2: Move gfs2_unlink_ok into ops_inode.c 2009-05-22 10:54:50 +01:00
inode.h GFS2: Move gfs2_unlink_ok into ops_inode.c 2009-05-22 10:54:50 +01:00
Kconfig block: rename CONFIG_LBD to CONFIG_LBDAF 2009-06-19 08:08:50 +02:00
lock_dlm.c
log.c GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
log.h
lops.c GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
lops.h
main.c GFS2: Umount recovery race fix 2009-05-19 10:01:18 +01:00
Makefile GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
meta_io.c GFS2: Clean up some file names 2009-05-22 10:01:55 +01:00
meta_io.h
ops_fstype.c GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
ops_inode.c GFS2: Move gfs2_unlink_ok into ops_inode.c 2009-05-22 10:54:50 +01:00
quota.c GFS2: Clean up some file names 2009-05-22 10:01:55 +01:00
quota.h
recovery.c GFS2: Umount recovery race fix 2009-05-19 10:01:18 +01:00
recovery.h GFS2: Umount recovery race fix 2009-05-19 10:01:18 +01:00
rgrp.c GFS2: Add tracepoints 2009-06-12 08:49:20 +01:00
rgrp.h GFS2: Improve resource group error handling 2009-05-20 10:48:47 +01:00
super.c GFS2: Remove lock_kernel from gfs2_put_super() 2009-06-12 13:40:47 +01:00
super.h
sys.c GFS2: Remove args subdir from gfs2 sysfs files 2009-05-26 15:50:25 +01:00
sys.h
trace_gfs2.h tracing/events: Move TRACE_SYSTEM outside of include guard 2009-07-13 10:59:55 +02:00
trans.c GFS2: Move journal live test at transaction start 2009-05-13 10:56:52 +01:00
trans.h
util.c
util.h