Messages in this thread | | | Subject | Re: [PATCH v2] perf: close the opened directories. | From | Peter Zijlstra <> | Date | Thu, 24 Jun 2010 09:21:34 +0200 |
| |
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@cn.fujitsu.com>
Looks good to me, Arnaldo, will you pick this up?
| |