aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-perl.c
diff options
context:
space:
mode:
authorGui Jianfeng <[email protected]>2010-06-24 15:04:02 +0800
committerArnaldo Carvalho de Melo <[email protected]>2010-07-16 14:16:47 -0300
commit74534341c1214ac5993904680616afe698dde3b6 (patch)
tree6126c003df7ab245b5a90f677b5206930e074cf7 /tools/perf/util/scripting-engines/trace-event-perl.c
parent58c3439083f8fde61de842c93d1407f0f881cd92 (diff)
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: <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Paul Mackerras <[email protected]> Cc: Peter Zijlstra <[email protected]> Signed-off-by: Gui Jianfeng <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-perl.c')
0 files changed, 0 insertions, 0 deletions