[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150126144412.GA2406@redhat.com>
Date: Mon, 26 Jan 2015 12:44:12 -0200
From: Arnaldo Carvalho de Melo <acme@...hat.com>
To: Jiri Olsa <jolsa@...hat.com>
Cc: Steven Rostedt <rostedt@...dmis.org>, linux-kernel@...r.kernel.org,
Ingo Molnar <mingo@...nel.org>,
Andrew Morton <akpm@...ux-foundation.org>,
Jiri Olsa <jolsa@...nel.org>,
Masami Hiramatsu <masami.hiramatsu.pt@...achi.com>,
Namhyung Kim <namhyung@...nel.org>
Subject: Re: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions
Em Mon, Jan 26, 2015 at 03:31:48PM +0100, Jiri Olsa escreveu:
> On Mon, Jan 26, 2015 at 09:26:21AM -0500, Steven Rostedt wrote:
> > On Mon, 26 Jan 2015 10:02:55 +0100
> > Jiri Olsa <jolsa@...hat.com> wrote:
> >
> > > > Note, WTF is perf checking the magic number for debugfs?? If events
> > > > move, even if its at the same path, this will break perf!
> > >
> > > good question.. it's there since 2009:
> > > f6bdafef2ab9 perf_counter: Add tracepoint support to perf list, perf stat
> > >
> > > I guess we didn't want anyone to trick us with fake tracepoints ;-)
> >
> > But that would be a feature not a bug. I could imagine admins doing
> > this for some work around.
> >
> > But can we nuke that check? I don't think it's very useful.
>
> I'd be ok with that
Yeah, that check is a nuisance, should be removed as it takes away
flexibility...
- Arnaldo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists