Re: [PATCH v2] perf: close the opened directories.

From: Arnaldo Carvalho de Melo
Date: Thu Jun 24 2010 - 09:53:15 EST

Em Thu, Jun 24, 2010 at 03:04:02PM +0800, Gui Jianfeng escreveu:
> When I ran "perf kvm ... top", I encountered the following error output.
> Error: perfcounter syscall returned with -1 (Too many open files)
> Fatal: No CONFIG_PERF_EVENTS=y kernel support configured?
> Looking into perf, I found perf opens too many direcotries at initialization
> time, but forgets to close them. Here is the fix.
> Signef-off-by: Gui Jianfeng <guijianfeng@xxxxxxxxxxxxxx>

Thanks, will apply.

- 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
Please read the FAQ at