Re: [PATCH 4/4] tracing/events: add trace-events-sample

Christoph Hellwig
2009-04-16T17:38:55Z

On Thu, Apr 16, 2009 at 01:34:46PM -0400, Steven Rostedt wrote:
> > On Tue, Apr 14, 2009 at 11:15:15PM -0400, Steven Rostedt wrote:
> > > +++ b/samples/trace_events/Makefile
> > > @@ -0,0 +1,8 @@
> > > +# builds the trace events example kernel modules;
> > > +# then to use one (as root): insmod <module_name.ko>
> > > +
> > > +PWD := $(shell pwd)
> > > +
> > > +CFLAGS_trace-events-sample.o := -I$(PWD)/samples/trace_events/
> >
> > CFLAGS_trace-events-sample.o += -I$(src)
>
> Is $(src) defined to be where the object is compiled?

$(src) is the source directory, $(obj) is the directory where the
compiled object ends up.