]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit21c9d6da410a2430658a841f22f07817be0402c9
treed9a1cb5b125922e33bd39bf62cac4f4679f10634
parent6e4faa133cf483064cfc987e9c8a7aa48f08832f
perf tools: do not complain if root is owning perf.data

This improves patch da05278f2 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