diff options
author | Jiri Olsa <jolsa@kernel.org> | 2020-10-13 21:24:37 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2020-10-14 13:46:42 +0200 |
commit | 8dfdf440d398f0bf63f1d4de881cbe9c69df53bb (patch) | |
tree | ea6ff8ecf0b34403162e9f733de9b0c81a0d7039 /tools/perf/util/dso.h | |
parent | perf tools: Pass build_id object to build_id__sprintf() (diff) | |
download | linux-8dfdf440d398f0bf63f1d4de881cbe9c69df53bb.tar.xz linux-8dfdf440d398f0bf63f1d4de881cbe9c69df53bb.zip |
perf tools: Pass build_id object to dso__set_build_id()
Passing build_id object to dso__set_build_id(), so it's easier
to initialize dos's build id object.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20201013192441.1299447-6-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/dso.h')
-rw-r--r-- | tools/perf/util/dso.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/dso.h b/tools/perf/util/dso.h index eac004210b47..5a5678dbdaa5 100644 --- a/tools/perf/util/dso.h +++ b/tools/perf/util/dso.h @@ -260,7 +260,7 @@ bool dso__sorted_by_name(const struct dso *dso); void dso__set_sorted_by_name(struct dso *dso); void dso__sort_by_name(struct dso *dso); -void dso__set_build_id(struct dso *dso, void *build_id); +void dso__set_build_id(struct dso *dso, struct build_id *bid); bool dso__build_id_equal(const struct dso *dso, u8 *build_id); void dso__read_running_kernel_build_id(struct dso *dso, struct machine *machine); |