Re: [patch] perf tools: perf list broken on ARM

From: Vince Weaver
Date: Mon Dec 09 2013 - 22:58:36 EST


On Tue, 10 Dec 2013, Namhyung Kim wrote:

> Hi Vince,
> Okay, the reason I set the bit was consideration of a very strict
> perf_event_paranoid setting (-2).
>
> So maybe we can try it again with the bit cleared after a failure, or
> checking the paranoid setting first.

If perf_event_paranoid is set to 2 then you should get EPERM rather than
ENOENT or EINVAL, right? Maybe that could be used too.

As a side note, why doesn't paranoid 2 block events that don't have
exclude_hv set?

Vince
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/