diff --git a/[refs] b/[refs] index f24904e9332b..bdfaae5939a5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 9b33fa6ba0e2f90fdf407501db801c2511121564 +refs/heads/master: 6230f2c7ef01a69e2ba9370326572c287209d32a diff --git a/trunk/tools/perf/builtin-record.c b/trunk/tools/perf/builtin-record.c index 771533ced6a8..6e4a39328b33 100644 --- a/trunk/tools/perf/builtin-record.c +++ b/trunk/tools/perf/builtin-record.c @@ -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");