[PATCH 22/35] perf annotate: Remove struct source_line

From: Jiri Olsa
Date: Wed Oct 11 2017 - 11:05:56 EST


Removing struct source_line*, because it's no longer needed.

Link: http://lkml.kernel.org/n/tip-1l1h650ssn61evncg9ytb3ed@xxxxxxxxxxxxxx
Signed-off-by: Jiri Olsa <jolsa@xxxxxxxxxx>
---
tools/perf/util/annotate.h | 14 --------------
1 file changed, 14 deletions(-)

diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index 7c40575d0fc1..5b12060efa61 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -125,19 +125,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
@@ -153,7 +140,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;
--
2.13.6