Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191074
b: refs/heads/master
c: 6230f2c
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo authored and Ingo Molnar committed Mar 11, 2010
1 parent 9cfa3fc commit 86839c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 9b33fa6ba0e2f90fdf407501db801c2511121564
refs/heads/master: 6230f2c7ef01a69e2ba9370326572c287209d32a
3 changes: 2 additions & 1 deletion trunk/tools/perf/builtin-record.c
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,8 @@ static void create_counter(int counter, int cpu, pid_t pid)
int err = errno;

if (err == EPERM || err == EACCES)
die("Permission error - are you root?\n");
die("Permission error - are you root?\n"
"\t Consider tweaking /proc/sys/kernel/perf_event_paranoid.\n");
else if (err == ENODEV && profile_cpu != -1)
die("No such device - did you specify an out-of-range profile CPU?\n");

Expand Down

0 comments on commit 86839c2

Please sign in to comment.