[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20160324130045.GR6356@twins.programming.kicks-ass.net>
Date: Thu, 24 Mar 2016 14:00:45 +0100
From: Peter Zijlstra <peterz@...radead.org>
To: Jiri Olsa <jolsa@...hat.com>, gg@...ns.programming.kicks-ass.net
Cc: 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 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.
Powered by blists - more mailing lists