Re: [PATCH v2] perf: close the opened directories.
From: Peter Zijlstra
Date: Thu Jun 24 2010 - 03:21:51 EST
On Thu, 2010-06-24 at 15:04 +0800, Gui Jianfeng wrote:
> 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>
Looks good to me, Arnaldo, will you pick this up?
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/