diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
-rw-r--r-- | tools/perf/builtin-top.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index fb9da71eba1f..f2ecd498c72d 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c | |||
@@ -977,6 +977,10 @@ try_again: | |||
977 | ui__error("Too many events are opened.\n" | 977 | ui__error("Too many events are opened.\n" |
978 | "Try again after reducing the number of events\n"); | 978 | "Try again after reducing the number of events\n"); |
979 | goto out_err; | 979 | goto out_err; |
980 | } else if ((err == EOPNOTSUPP) && (attr->precise_ip)) { | ||
981 | ui__error("\'precise\' request may not be supported. " | ||
982 | "Try removing 'p' modifier\n"); | ||
983 | goto out_err; | ||
980 | } | 984 | } |
981 | 985 | ||
982 | ui__error("The sys_perf_event_open() syscall " | 986 | ui__error("The sys_perf_event_open() syscall " |