projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perf hists browser: Allow annotating entries in callchains
[linux-2.6-block.git]
/
tools
/
perf
/
ui
/
browsers
/
annotate.c
diff --git
a/tools/perf/ui/browsers/annotate.c
b/tools/perf/ui/browsers/annotate.c
index 9d32e3c0cfeedfe4cc60f62babad3fd3e451bf3c..e5250eb2dd57866b1051736767dbe598bb4c78d2 100644
(file)
--- a/
tools/perf/ui/browsers/annotate.c
+++ b/
tools/perf/ui/browsers/annotate.c
@@
-829,10
+829,16
@@
out:
return key;
}
return key;
}
+int map_symbol__tui_annotate(struct map_symbol *ms, struct perf_evsel *evsel,
+ struct hist_browser_timer *hbt)
+{
+ return symbol__tui_annotate(ms->sym, ms->map, evsel, hbt);
+}
+
int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel,
struct hist_browser_timer *hbt)
{
int hist_entry__tui_annotate(struct hist_entry *he, struct perf_evsel *evsel,
struct hist_browser_timer *hbt)
{
- return
symbol__tui_annotate(he->ms.sym, he->ms.map
, evsel, hbt);
+ return
map_symbol__tui_annotate(&he->ms
, evsel, hbt);
}
static void annotate_browser__mark_jump_targets(struct annotate_browser *browser,
}
static void annotate_browser__mark_jump_targets(struct annotate_browser *browser,