aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-10-11 15:01:26 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-11-13 12:39:57 +0000
commitd5490b9647e6e41b203186ed0d73b4103f139fda (patch)
treeea6b969cfc4d91ac645d6cb310af428bd523b9c5 /tools/perf/util/annotate.h
parentperf annotate: Add annotation_line struct (diff)
downloadkernel-d5490b9647e6e41b203186ed0d73b4103f139fda.tar.gz
kernel-d5490b9647e6e41b203186ed0d73b4103f139fda.zip
perf annotate: Move line/offset into annotation_line struct
Move the line/line_nr/offset menbers to the annotation_line struct to be used as generic members for any annotation source. Signed-off-by: Jiri Olsa <[email protected]> Cc: Andi Kleen <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index cc3cf6b50d55..b7ca62855760 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -61,14 +61,14 @@ struct annotation;
struct annotation_line {
struct list_head node;
+ s64 offset;
+ char *line;
+ int line_nr;
};
struct disasm_line {
struct annotation_line al;
- s64 offset;
- char *line;
struct ins ins;
- int line_nr;
float ipc;
u64 cycles;
struct ins_operands ops;