Messages in this thread |  | | | Date | Wed, 15 Apr 2009 20:32:13 +0200 | | From | Sam Ravnborg <> | | Subject | Re: GFS2: Tracing support for review |
| |
On Wed, Apr 15, 2009 at 04:55:05PM +0100, Steven Whitehouse wrote: > Hi, > > This is my current patch to add tracepoints to GFS2. I couldn't use > the recommended method of putting the trace_gfs2.h into fs/gfs2/ > because of something strange happening with the macros. The full > path on my machine was: /home/steve/linux-2.6-tip/fs/gfs2 but > somehow this was being substituted as: /home/steve/1-2.6-tip/fs/gfs2 > if I used the second method listed here: http://lkml.org/lkml/2009/4/14/578
Most likely because the preprocessor define the symbol "linux" to "1". In general we should avoid playing games with include paths - it will bite us.
Sam
|  |