aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/cache.h
diff options
context:
space:
mode:
authorGui Jianfeng <guijianfeng@cn.fujitsu.com>2010-06-24 15:04:02 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2010-07-16 14:16:47 -0300
commit74534341c1214ac5993904680616afe698dde3b6 (patch)
tree6126c003df7ab245b5a90f677b5206930e074cf7 /tools/perf/util/cache.h
parentperf: Fix various display bugs with parent filtering (diff)
downloadlinux-dev-74534341c1214ac5993904680616afe698dde3b6.tar.xz
linux-dev-74534341c1214ac5993904680616afe698dde3b6.zip
perf symbols: Fix directory descriptor leaking
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 directories at initialization time, but forgets to close them. Here is the fix. LKML-Reference: <4C230362.5080704@cn.fujitsu.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Signed-off-by: Gui Jianfeng <guijianfeng@cn.fujitsu.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/cache.h')
0 files changed, 0 insertions, 0 deletions