perf annotate: Remove struct source_line
authorJiri Olsa <jolsa@kernel.org>
Wed, 11 Oct 2017 15:01:45 +0000 (17:01 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 16 Nov 2017 17:49:44 +0000 (14:49 -0300)
Remove struct source_line*, no longer needed.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20171011150158.11895-23-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.h

index f98acb2ad721b2b3e6cf1a441177eb556b0bf716..4fc805a271d2d05523e31465e61183f4697ed500 100644 (file)
@@ -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;