aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index 376395475663..bb2e3f998983 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -74,11 +74,15 @@ struct sym_hist {
74 u64 addr[0]; 74 u64 addr[0];
75}; 75};
76 76
77struct source_line { 77struct source_line_percent {
78 struct rb_node node;
79 double percent; 78 double percent;
80 double percent_sum; 79 double percent_sum;
80};
81
82struct source_line {
83 struct rb_node node;
81 char *path; 84 char *path;
85 struct source_line_percent p[1];
82}; 86};
83 87
84/** struct annotated_source - symbols with hits have this attached as in sannotation 88/** struct annotated_source - symbols with hits have this attached as in sannotation