Messages in this thread | | | Date | Thu, 3 Sep 2009 08:47:16 +0200 | From | Ingo Molnar <> | Subject | Re: [tip:perfcounters/core] perf_counter: Introduce new (non-)paranoia level to allow raw tracepoint access |
| |
* Li Zefan <lizf@cn.fujitsu.com> wrote:
> > static inline bool perf_paranoid_cpu(void) > > { > > return sysctl_perf_counter_paranoid > 0; > > @@ -3971,6 +3977,7 @@ static const struct pmu *tp_perf_counter_init(struct perf_counter *counter) > > * have these. > > */ > > if ((counter->attr.sample_type & PERF_SAMPLE_RAW) && > > + && perf_paranoid_tracepoint_raw() && > > "&& &&" > > This leads to build failure.
Yeah - fixed that yesterday, forgot to push out :-/
Ingo
| |