aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2017-10-11 15:01:45 +0000
committerArnaldo Carvalho de Melo <[email protected]>2017-11-16 17:49:44 +0000
commitfa1924eb4abcd756febc031d819ba75c3849ca45 (patch)
treec9dc8c2326489af5c93d6904650057b9e0a3b885 /tools/perf/util/annotate.h
parentperf annotate: Remove disasm__calc_percent function (diff)
downloadkernel-fa1924eb4abcd756febc031d819ba75c3849ca45.tar.gz
kernel-fa1924eb4abcd756febc031d819ba75c3849ca45.zip
perf annotate: Remove struct source_line
Remove struct source_line*, no longer needed. 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.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index f98acb2ad721..4fc805a271d2 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -126,19 +126,6 @@ struct cyc_hist {
u16 reset;
};
-struct source_line_samples {
- double percent;
- double percent_sum;
- u64 nr;
-};
-
-struct source_line {
- struct rb_node node;
- char *path;
- int nr_pcnt;
- struct source_line_samples samples[1];
-};
-
/** struct annotated_source - symbols with hits have this attached as in sannotation
*
* @histogram: Array of addr hit histograms per event being monitored
@@ -154,7 +141,6 @@ struct source_line {
*/
struct annotated_source {
struct list_head source;
- struct source_line *lines;
int nr_histograms;
size_t sizeof_sym_hist;
struct cyc_hist *cycles_hist;