diff options
| author | Jiri Olsa <[email protected]> | 2015-05-25 20:51:54 +0000 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2015-05-27 23:28:37 +0000 |
| commit | 18ffdfe8e98f861a39590ef2374ad51fc963567e (patch) | |
| tree | 9b5340add5348d7116ecb88a74220bc3398686ea /tools/perf/util/annotate.c | |
| parent | perf tools: Reference count struct map (diff) | |
| download | kernel-18ffdfe8e98f861a39590ef2374ad51fc963567e.tar.gz kernel-18ffdfe8e98f861a39590ef2374ad51fc963567e.zip | |
perf tools: Add hint for 'Too many events are opened.' error message
Enhancing the 'Too many events are opened.' error message with hint to
use use 'ulimit -n <limit>' command.
Before:
$ perf record -e 'sched:*,syscalls:*' ls
Error:
Too many events are opened.
Try again after reducing the number of events.
Now:
$ perf record -e 'sched:*,syscalls:*' ls
Error:
Too many events are opened.
Probably the maximum number of open file descriptors has been reached.
Hint: Try again after reducing the number of events.
Hint: Try increasing the limit with 'ulimit -n <limit>'
Signed-off-by: Jiri Olsa <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Michael Petlan <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
0 files changed, 0 insertions, 0 deletions
