Skip to contentSkip to conversation

perf annotate: Fold or unfold partial disassembly lines on source code view

PATCH In review Taeung Song 1 participant 1 message Jun 28, 2017 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 3/4 perf annotate: Fold or unfold partial disassembly lines on source code view

Cc Milian Wolff <[email protected]>
Cc Jiri Olsa <[email protected]>
Cc Masami Hiramatsu <[email protected]>
Cc Adrian Hunter <[email protected]>
Cc Wang Nan <[email protected]>
Cc Jin Yao <[email protected]>
Cc Andi Kleen <[email protected]>
Cc Kim Phillips <[email protected]>
Cc David Ahern <[email protected]>
---
 tools/perf/ui/browser.h           |   1 +
 tools/perf/ui/browsers/annotate.c | 146 ++++++++++++++++++++++++++++++++++++--
 tools/perf/util/annotate.h        |   1 +
 3 files changed, 141 insertions(+), 7 deletions(-)
tools/perf/ui/browser.h +1 -0
index be3b70e..7637195 100644
@@ -8,6 +8,7 @@
 #define HE_COLORSET_NORMAL	52
 #define HE_COLORSET_SELECTED	53
 #define HE_COLORSET_JUMP_ARROWS	54
+#define HE_COLORSET_ASM		54
 #define HE_COLORSET_ADDR	55
 #define HE_COLORSET_ROOT	56
 
tools/perf/ui/browsers/annotate.c +139 -7

226 lines not on this page · raw message

tools/perf/util/annotate.h +1 -0
index fb352cf..97f35ba 100644
@@ -104,6 +104,7 @@ struct code_line {
 	struct list_head    node;
 	int		    line_nr;
 	char		    *line;
+	bool		    show_asm;
 	int		    nr_matched_dl;
 	struct disasm_line  **matched_dl;
 	struct disasm_line_samples *samples_sum;
Signature · 1 line
2.7.4