Re: [PATCH] perf tools: Add hint for 'Too many events are opened.' error message

From: Arnaldo Carvalho de Melo
Date: Wed May 27 2015 - 19:30:40 EST


Em Mon, May 25, 2015 at 10:51:54PM +0200, Jiri Olsa escreveu:
> Enhancing the 'Too many events are opened.' error message
> with hint to use use 'ulimit -n <limit>' command.

<SNIP>

> 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>'

Thanks, applied.

- Arnaldo

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/