perf annotate: Remove unused hist_entry__annotate function
authorRavi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Fri, 24 Jun 2016 11:53:55 +0000 (17:23 +0530)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 27 Jun 2016 13:58:50 +0000 (10:58 -0300)
hist_entry__annotate looks part of API but I don't find any caller
of this function. Removing it.

Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.vnet.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anton Blanchard <anton@ozlabs.org>
Cc: Daniel Axtens <dja@axtens.net>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Link: http://lkml.kernel.org/r/1466769240-12376-2-git-send-email-ravi.bangoria@linux.vnet.ibm.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/annotate.h

index 7e5a1e8874cee4a263d2577f55fd3ddf7dde3a95..b2c7ae465465be4cf207c47ce6415c8cdd756d27 100644 (file)
@@ -1676,11 +1676,6 @@ int symbol__tty_annotate(struct symbol *sym, struct map *map,
        return 0;
 }
 
-int hist_entry__annotate(struct hist_entry *he, size_t privsize)
-{
-       return symbol__annotate(he->ms.sym, he->ms.map, privsize);
-}
-
 bool ui__has_annotation(void)
 {
        return use_browser == 1 && perf_hpp_list.sym;
index 9241f8c2b7e16e10f222e5d5fc0be5032ba7f4f1..82f3781138f908321eed8f8a524b4b5f8e2a3763 100644 (file)
@@ -156,8 +156,6 @@ void symbol__annotate_zero_histograms(struct symbol *sym);
 
 int symbol__annotate(struct symbol *sym, struct map *map, size_t privsize);
 
-int hist_entry__annotate(struct hist_entry *he, size_t privsize);
-
 int symbol__annotate_init(struct map *map, struct symbol *sym);
 int symbol__annotate_printf(struct symbol *sym, struct map *map,
                            struct perf_evsel *evsel, bool full_paths,