aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/ordered-events.c
diff options
context:
space:
mode:
authorChangbin Du <changbin.du@gmail.com>2019-03-16 16:05:51 +0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2019-03-19 16:52:05 -0300
commitda3a53a7390a89391bd63bead0c2e9af4c5ef3d6 (patch)
tree10baf6f7e0f806a9436f4877c0e1f11e4c727ec5 /tools/perf/util/ordered-events.c
parentperf map: Remove map from 'names' tree in __maps__remove() (diff)
downloadlinux-dev-da3a53a7390a89391bd63bead0c2e9af4c5ef3d6.tar.xz
linux-dev-da3a53a7390a89391bd63bead0c2e9af4c5ef3d6.zip
perf maps: Purge all maps from the 'names' tree
Add function __maps__purge_names() to purge all maps from the names tree. We need to cleanup the names tree in maps__exit(). Detected with gcc's ASan. Signed-off-by: Changbin Du <changbin.du@gmail.com> Reviewed-by: Jiri Olsa <jolsa@kernel.org> Cc: Alexei Starovoitov <ast@kernel.org> Cc: Daniel Borkmann <daniel@iogearbox.net> Cc: Eric Saint-Etienne <eric.saint.etienne@oracle.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <peterz@infradead.org> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org> Fixes: 1e6285699b30 ("perf symbols: Fix slowness due to -ffunction-section") Link: http://lkml.kernel.org/r/20190316080556.3075-12-changbin.du@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/ordered-events.c')
0 files changed, 0 insertions, 0 deletions