summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.h
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2017-10-11 17:01:44 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2017-11-16 14:46:14 -0300
commit81e436a0b3a7a2f3ac0311674ce407b7cdd23f0b (patch)
tree279f954155279a3cf60c5c2ac66185c887d2080a /tools/perf/util/annotate.h
parente425da6caed1a2872e9543bba83488dbe4bbe3f3 (diff)
downloadlinux-stable-81e436a0b3a7a2f3ac0311674ce407b7cdd23f0b.tar.gz
linux-stable-81e436a0b3a7a2f3ac0311674ce407b7cdd23f0b.tar.bz2
linux-stable-81e436a0b3a7a2f3ac0311674ce407b7cdd23f0b.zip
perf annotate: Remove disasm__calc_percent function
Remove disasm__calc_percent() function, because it's 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-22-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/annotate.h')
-rw-r--r--tools/perf/util/annotate.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h
index 927810b19f0d..f98acb2ad721 100644
--- a/tools/perf/util/annotate.h
+++ b/tools/perf/util/annotate.h
@@ -107,8 +107,6 @@ struct annotation_line *
annotation_line__next(struct annotation_line *pos, struct list_head *head);
int disasm_line__scnprintf(struct disasm_line *dl, char *bf, size_t size, bool raw);
size_t disasm__fprintf(struct list_head *head, FILE *fp);
-double disasm__calc_percent(struct annotation *notes, int evidx, s64 offset,
- s64 end, const char **path, struct sym_hist_entry *sample);
int symbol__calc_percent(struct symbol *sym, struct perf_evsel *evsel);
struct sym_hist {