Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1364148
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event |
| Date | 2016-03-24 14:10 +0100 |
| Message-ID | <rgdbt-34K-31@gated-at.bofh.it> (permalink) |
| References | (1 earlier) <rdkMa-1Kx-23@gated-at.bofh.it> <rfOPL-2sH-1@gated-at.bofh.it> <rgadB-EQ-15@gated-at.bofh.it> <rgb9E-1lm-11@gated-at.bofh.it> <rgcyK-2B9-7@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event Peter Zijlstra <peterz@infradead.org> - 2016-03-23 12:10 +0100
Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event Jiri Olsa <jolsa@redhat.com> - 2016-03-24 11:00 +0100
Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event Peter Zijlstra <peterz@infradead.org> - 2016-03-24 12:00 +0100
Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event Jiri Olsa <jolsa@redhat.com> - 2016-03-24 13:30 +0100
Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event Peter Zijlstra <peterz@infradead.org> - 2016-03-24 14:10 +0100
Re: [PATCH 2/5] ftrace perf: Move exclude_kernel tracepoint check to init event Jiri Olsa <jolsa@redhat.com> - 2016-03-24 14:40 +0100
csiph-web