summaryrefslogtreecommitdiffstats
path: root/lib/show_mem.c
diff options
context:
space:
mode:
authorNamhyung Kim <namhyung@kernel.org>2014-02-20 10:32:54 +0900
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-02-24 11:13:08 -0300
commit98e9f03bbf2cb21a60f94b8b700eb5d38470819d (patch)
tree03b3d01a73f2b631cd7aeea98ab49f7f6a6730ce /lib/show_mem.c
parent48c65bda95d692076de7e5eae3188ddae8635dca (diff)
downloadlinux-98e9f03bbf2cb21a60f94b8b700eb5d38470819d.tar.bz2
perf symbols: Destroy unused symsrcs
Stephane reported that perf report and annotate failed to process data using lots of (> 500) shared libraries. It was because of the limit on number of open files (ulimit -n). Currently when perf loads a DSO, it'll look for normal and dynamic symbol tables. And if it fails to find out both tables, it'll iterate all of possible symtab types. But many of them are useless since they have no additional information and the problem is that it's not closing those files even though they're not used. Fix it. Reported-by: Stephane Eranian <eranian@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Cody P Schafer <cody@linux.vnet.ibm.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Namhyung Kim <namhyung.kim@lge.com> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1392859976-32760-2-git-send-email-namhyung@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'lib/show_mem.c')
0 files changed, 0 insertions, 0 deletions