diff options
author | 2020-02-04 10:22:28 +0530 | |
---|---|---|
committer | 2020-02-27 11:06:14 -0300 | |
commit | e0ad4d68548005adb54cc7c35fd9abf760a2a050 (patch) | |
tree | 8ee9136a9aaa54774cfe9e52585a1b61646dafea /tools/perf/util/annotate.h | |
parent | perf probe: Check return value of strlist__add() for -ENOMEM (diff) | |
download | linux-e0ad4d68548005adb54cc7c35fd9abf760a2a050.tar.gz linux-e0ad4d68548005adb54cc7c35fd9abf760a2a050.tar.bz2 linux-e0ad4d68548005adb54cc7c35fd9abf760a2a050.zip |
perf annotate: Remove privsize from symbol__annotate() args
privsize is passed as 0 from all the symbol__annotate() callers.
Remove it from argument list.
Signed-off-by: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Acked-by: Jiri Olsa <jolsa@redhat.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Song Liu <songliubraving@fb.com>
Link: http://lore.kernel.org/lkml/20200204045233.474937-2-ravi.bangoria@linux.ibm.com
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.h b/tools/perf/util/annotate.h index 8e54184b43dc..7bc60988e478 100644 --- a/tools/perf/util/annotate.h +++ b/tools/perf/util/annotate.h @@ -350,7 +350,7 @@ struct annotated_source *symbol__hists(struct symbol *sym, int nr_hists); void symbol__annotate_zero_histograms(struct symbol *sym); int symbol__annotate(struct map_symbol *ms, - struct evsel *evsel, size_t privsize, + struct evsel *evsel, struct annotation_options *options, struct arch **parch); int symbol__annotate2(struct map_symbol *ms, |