[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160324133059.GA22759@krava.brq.redhat.com>
Date: Thu, 24 Mar 2016 14:30:59 +0100
From: Jiri Olsa <jolsa@...hat.com>
To: Peter Zijlstra <peterz@...radead.org>
Cc: gg@...ns.programming.kicks-ass.net, Jiri Olsa <jolsa@...nel.org>,
Steven Rostedt <rostedt@...dmis.org>,
lkml <linux-kernel@...r.kernel.org>,
Ingo Molnar <mingo@...nel.org>,
Namhyung Kim <namhyung@...nel.org>,
Arnaldo Carvalho de Melo <acme@...nel.org>
Subject: Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to
init event
On Thu, Mar 24, 2016 at 02:00:45PM +0100, Peter Zijlstra wrote:
> On Thu, Mar 24, 2016 at 01:25:44PM +0100, Jiri Olsa wrote:
> > > > > > $ sudo perf record -e sched:sched_switch:u ls
> > > > > > $ sudo /perf script | wc -l
> > > > > > 0
>
> > > And its not like the [uk] flags are hard to implement here.
> >
> > sched:sched_switch:u ?
>
> As per the above, its implemented and correct. The answer is 0.
>
> The only problem is that currently it assumes all tracepoint events are
> from the kernel, and that is wrong for uprobes.
>
> But returning an error is not right, its a valid configuration, a daft
> one, sure, but not invalid.
>
> Similarly uprobe:foo:k is daft, but broken.
ok, will send fix for uprobes then
thanks,
jirka
Powered by blists - more mailing lists