[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4A9F17DD.4050807@cn.fujitsu.com>
Date: Thu, 03 Sep 2009 09:11:57 +0800
From: Li Zefan <lizf@...fujitsu.com>
To: mingo@...hat.com, hpa@...or.com, paulus@...ba.org, acme@...hat.com,
linux-kernel@...r.kernel.org, fweisbec@...il.com,
a.p.zijlstra@...llo.nl, efault@....de, tglx@...utronix.de,
mingo@...e.hu
CC: linux-tip-commits@...r.kernel.org
Subject: Re: [tip:perfcounters/core] perf_counter: Introduce new (non-)paranoia
level to allow raw tracepoint access
> 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.
> !capable(CAP_SYS_ADMIN))
> return ERR_PTR(-EPERM);
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists