projects
/
~shefty
/
rdma-dev.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
perf top: Fix live annotation in the --stdio interface
[~shefty/rdma-dev.git]
/
tools
/
perf
/
builtin-top.c
diff --git
a/tools/perf/builtin-top.c
b/tools/perf/builtin-top.c
index a13f8870d94c50fc38917ccea5205653e41eac82..c9cdedb581348aa158677b28f6465734abcb50d4 100644
(file)
--- a/
tools/perf/builtin-top.c
+++ b/
tools/perf/builtin-top.c
@@
-200,7
+200,8
@@
static void record_precise_ip(struct hist_entry *he, int counter, u64 ip)
struct symbol *sym;
if (he == NULL || he->ms.sym == NULL ||
- (he != top.sym_filter_entry && use_browser != 1))
+ ((top.sym_filter_entry == NULL ||
+ top.sym_filter_entry->ms.sym != he->ms.sym) && use_browser != 1))
return;
sym = he->ms.sym;