perf tools: Add missing closedir in multi tracepoint processing
authorJiri Olsa <jolsa@redhat.com>
Mon, 17 Dec 2012 13:08:36 +0000 (14:08 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 24 Jan 2013 19:40:10 +0000 (16:40 -0300)
commit0bd3f0840bf4bc900b4beb8e792ad499b43dad3b
tree3d0f1aea1dd0051bfdbeca78d15b40d38da6b77d
parent0c6332e9d8b8f38a9d5f0cdd66c5575e76ad8995
perf tools: Add missing closedir in multi tracepoint processing

We don't close 'events' directory when reading multiple tracepoint
events. Adding missing closedir.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1355749718-4355-2-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/parse-events.c