perf tools: do not complain if root is owning perf.data
authorPierre Habouzit <pierre.habouzit@intersec.com>
Thu, 27 Aug 2009 07:59:02 +0000 (09:59 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 28 Aug 2009 11:47:43 +0000 (13:47 +0200)
commit119e7a22bb70d84849384e5113792cd45afa4f85
treed9a1cb5b125922e33bd39bf62cac4f4679f10634
parent7ced156bb8bb6363b6ed541871bf19a90273f910
perf tools: do not complain if root is owning perf.data

This improves patch fa6963b24 so that perf.data 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 perf.data.

Signed-off-by: Pierre Habouzit <pierre.habouzit@intersec.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: <stable@kernel.org>
LKML-Reference: <20090827075902.GF19653@laphroaig.corp>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-annotate.c
tools/perf/builtin-report.c
This page took 0.024996 seconds and 5 git commands to generate.