aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-top.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-15 03:50:38 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-15 03:50:41 -0500
commit39dc78b6510323848e3356452f7dab9499736978 (patch)
treecf8a8fede74e41b203fd00e3ccd21ead2e851442 /tools/perf/builtin-top.c
parent4c49b12853fbb5eff4849b7b6a1e895776f027a1 (diff)
parent156171c71a0dc4bce12b4408bb1591f8fe32dc1a (diff)
Merge commit 'v2.6.32-rc7' into perf/core
Merge reason: pick up perf fixlets Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r--tools/perf/builtin-top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c
index 2aea913f7eb7..6613f988a33e 100644
--- a/tools/perf/builtin-top.c
+++ b/tools/perf/builtin-top.c
@@ -1031,7 +1031,7 @@ try_again:
1031 if (fd[i][counter] < 0) { 1031 if (fd[i][counter] < 0) {
1032 int err = errno; 1032 int err = errno;
1033 1033
1034 if (err == EPERM) 1034 if (err == EPERM || err == EACCES)
1035 die("No permission - are you root?\n"); 1035 die("No permission - are you root?\n");
1036 /* 1036 /*
1037 * If it's cycles then fall back to hrtimer 1037 * If it's cycles then fall back to hrtimer