mirror of https://github.com/torvalds/linux.git
Markus reported that "perf top -g" can leak ~300MB per second on his machine. This is partly because it missed to free callchains when hist entries are deleted. Fix it. Reported-by: Markus Trippelsdorf <markus@trippelsdorf.de> Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: David Ahern <dsahern@gmail.com> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@redhat.com> Cc: Markus Trippelsdorf <markus@trippelsdorf.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/20141230053813.GD6081@sejong Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> |
||
|---|---|---|
| .. | ||
| include | ||
| scripting-engines | ||
| PERF-VERSION-GEN | ||
| abspath.c | ||
| alias.c | ||
| annotate.c | ||
| annotate.h | ||
| bitmap.c | ||
| build-id.c | ||
| build-id.h | ||
| cache.h | ||
| callchain.c | ||
| callchain.h | ||
| cgroup.c | ||
| cgroup.h | ||
| cloexec.c | ||
| cloexec.h | ||
| color.c | ||
| color.h | ||
| comm.c | ||
| comm.h | ||
| config.c | ||
| cpumap.c | ||
| cpumap.h | ||
| ctype.c | ||
| data.c | ||
| data.h | ||
| db-export.c | ||
| db-export.h | ||
| debug.c | ||
| debug.h | ||
| dso.c | ||
| dso.h | ||
| dwarf-aux.c | ||
| dwarf-aux.h | ||
| environment.c | ||
| event.c | ||
| event.h | ||
| evlist.c | ||
| evlist.h | ||
| evsel.c | ||
| evsel.h | ||
| exec_cmd.c | ||
| exec_cmd.h | ||
| find-vdso-map.c | ||
| generate-cmdlist.sh | ||
| header.c | ||
| header.h | ||
| help.c | ||
| help.h | ||
| hist.c | ||
| hist.h | ||
| hweight.c | ||
| intlist.c | ||
| intlist.h | ||
| kvm-stat.h | ||
| levenshtein.c | ||
| levenshtein.h | ||
| machine.c | ||
| machine.h | ||
| map.c | ||
| map.h | ||
| ordered-events.c | ||
| ordered-events.h | ||
| pager.c | ||
| parse-events.c | ||
| parse-events.h | ||
| parse-events.l | ||
| parse-events.y | ||
| parse-options.c | ||
| parse-options.h | ||
| path.c | ||
| perf_regs.c | ||
| perf_regs.h | ||
| pmu.c | ||
| pmu.h | ||
| pmu.l | ||
| pmu.y | ||
| probe-event.c | ||
| probe-event.h | ||
| probe-finder.c | ||
| probe-finder.h | ||
| pstack.c | ||
| pstack.h | ||
| python-ext-sources | ||
| python.c | ||
| quote.c | ||
| quote.h | ||
| rblist.c | ||
| rblist.h | ||
| record.c | ||
| run-command.c | ||
| run-command.h | ||
| session.c | ||
| session.h | ||
| setup.py | ||
| sigchain.c | ||
| sigchain.h | ||
| sort.c | ||
| sort.h | ||
| srcline.c | ||
| stat.c | ||
| stat.h | ||
| strbuf.c | ||
| strbuf.h | ||
| strfilter.c | ||
| strfilter.h | ||
| string.c | ||
| strlist.c | ||
| strlist.h | ||
| svghelper.c | ||
| svghelper.h | ||
| symbol-elf.c | ||
| symbol-minimal.c | ||
| symbol.c | ||
| symbol.h | ||
| target.c | ||
| target.h | ||
| thread-stack.c | ||
| thread-stack.h | ||
| thread.c | ||
| thread.h | ||
| thread_map.c | ||
| thread_map.h | ||
| tool.h | ||
| top.c | ||
| top.h | ||
| trace-event-info.c | ||
| trace-event-parse.c | ||
| trace-event-read.c | ||
| trace-event-scripting.c | ||
| trace-event.c | ||
| trace-event.h | ||
| tsc.c | ||
| tsc.h | ||
| unwind-libdw.c | ||
| unwind-libdw.h | ||
| unwind-libunwind.c | ||
| unwind.h | ||
| usage.c | ||
| util.c | ||
| util.h | ||
| values.c | ||
| values.h | ||
| vdso.c | ||
| vdso.h | ||
| wrapper.c | ||
| xyarray.c | ||
| xyarray.h | ||
| zlib.c | ||