lkml.org 
[lkml]   [2015]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 2/5] tools lib api fs: Add tracefs mount helper functions
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@redhat.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

jirka


\
 
 \ /
  Last update: 2015-01-26 15:41    [W:0.154 / U:0.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site