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

From: Steven Rostedt
Date: Thu Apr 16 2009 - 13:51:20 EST



On Thu, 16 Apr 2009, Christoph Hellwig wrote:

> 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.

Oh, cool. I did not know that.

I'll update the sample code accordingly.

Thanks!

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/