Re: [PATCH] perf tools: do not complain if root is owning

From: Ingo Molnar
Date: Wed Aug 26 2009 - 14:25:15 EST

* Pierre Habouzit <pierre.habouzit@xxxxxxxxxxxx> wrote:

> This improves patch fa6963b24 so that stuff that has
> been dumped as root can be read (annotate/report) by a user
> without the use of the --force.
> Rationale is that root has plenty of ways to screw us (usually)
> that do not require twisted schemes involving specially crafting a
> Signed-off-by: Pierre Habouzit <pierre.habouzit@xxxxxxxxxxxx>
> ---
> tools/perf/builtin-annotate.c | 4 ++--
> tools/perf/builtin-report.c | 4 ++--
> 2 files changed, 4 insertions(+), 4 deletions(-)

Ok, this makes sense - but i think we should do this in .32 only,
with a Cc: <stable@xxxxxxxxxx> backport tag for .31.1.

Mind doing it against the latest perfcounters tree, which can be
found in -tip:

your current version does not apply cleanly as the surrounding code
has changed a bit already.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at