Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions

From: Steven Rostedt
Date: Sun Jan 25 2015 - 14:22:44 EST


On Sun, 25 Jan 2015 17:45:36 +0100
Jiri Olsa <jolsa@xxxxxxxxxx> wrote:

> On Sat, Jan 24, 2015 at 01:13:32PM -0500, Steven Rostedt wrote:
>
> SNIP
>
> > diff --git a/tools/lib/api/fs/tracefs.h b/tools/lib/api/fs/tracefs.h
> > new file mode 100644
> > index 000000000000..576206500e15
> > --- /dev/null
> > +++ b/tools/lib/api/fs/tracefs.h
> > @@ -0,0 +1,29 @@
> > +#ifndef __API_TRACEFS_H__
> > +#define __API_TRACEFS_H__
> > +
> > +#define _STR(x) #x
> > +#define STR(x) _STR(x)
>
> I can't find STR macro being used in the code..

I noticed this too just after I sent the series. I was seeing who had
good eyes ;-)

It's from doing a cut and paste from debugfs.h, which still has it,
even though after this series, it's only used by findfs.c. Thus it
should be moved to findfs.h, and removed from debugfs.h and tracefs.h.

Thanks, will fix.

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