diff options
author | Ingo Molnar <mingo@kernel.org> | 2015-05-28 12:09:22 +0300 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2015-05-28 12:09:22 +0300 |
commit | f1942b96b4b44c1ab0e0b82fef93ba7e1fada7af (patch) | |
tree | 4a0ba3876432e0583eb65f8ace8361b6c78cdb76 /tools/perf/builtin-annotate.c | |
parent | 09a216ea5c528356797dc12ab35234922a6c02be (diff) | |
parent | f00898f4e20b286877b8d6d96d6e404661fd7985 (diff) | |
download | linux-f1942b96b4b44c1ab0e0b82fef93ba7e1fada7af.tar.xz |
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core refactorings and improvements from Arnaldo Carvalho de Melo:
User visible changes:
- Add hint for 'Too many events are opened.' error message (Jiri Olsa)
Infrastructure changes:
- Protect accesses to map rbtrees with a lock and refcount struct map,
reducing memory usage as maps not used get freed. The 'dso' struct is
next in line. (Arnaldo Carvalho de Melo)
- Annotation and branch related option parsing refactorings to
share code with upcoming patches (Andi Kleen)
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'tools/perf/builtin-annotate.c')
-rw-r--r-- | tools/perf/builtin-annotate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/builtin-annotate.c b/tools/perf/builtin-annotate.c index b57a027fb200..c434e1264087 100644 --- a/tools/perf/builtin-annotate.c +++ b/tools/perf/builtin-annotate.c @@ -59,6 +59,10 @@ static int perf_evsel__add_sample(struct perf_evsel *evsel, (al->sym == NULL || strcmp(ann->sym_hist_filter, al->sym->name) != 0)) { /* We're only interested in a symbol named sym_hist_filter */ + /* + * FIXME: why isn't this done in the symbol_filter when loading + * the DSO? + */ if (al->sym != NULL) { rb_erase(&al->sym->rb_node, &al->map->dso->symbols[al->map->type]); |