build-id.h (976e3645923bdd2fe7893aae33fd7a21098bfb28) build-id.h (0bf02a0d80427f263195c1e5a4c8ada14bd5d261)
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef PERF_BUILD_ID_H_
3#define PERF_BUILD_ID_H_ 1
4
5#define BUILD_ID_SIZE 20
6#define SBUILD_ID_SIZE (BUILD_ID_SIZE * 2 + 1)
7
8#include "tool.h"

--- 15 unchanged lines hidden (view full) ---

24 bool is_debug);
25
26int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
27 struct perf_sample *sample, struct evsel *evsel,
28 struct machine *machine);
29
30int dsos__hit_all(struct perf_session *session);
31
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef PERF_BUILD_ID_H_
3#define PERF_BUILD_ID_H_ 1
4
5#define BUILD_ID_SIZE 20
6#define SBUILD_ID_SIZE (BUILD_ID_SIZE * 2 + 1)
7
8#include "tool.h"

--- 15 unchanged lines hidden (view full) ---

24 bool is_debug);
25
26int build_id__mark_dso_hit(struct perf_tool *tool, union perf_event *event,
27 struct perf_sample *sample, struct evsel *evsel,
28 struct machine *machine);
29
30int dsos__hit_all(struct perf_session *session);
31
32int perf_event__inject_buildid(struct perf_tool *tool, union perf_event *event,
33 struct perf_sample *sample, struct evsel *evsel,
34 struct machine *machine);
35
32bool perf_session__read_build_ids(struct perf_session *session, bool with_hits);
33int perf_session__write_buildid_table(struct perf_session *session,
34 struct feat_fd *fd);
35int perf_session__cache_build_ids(struct perf_session *session);
36
37char *build_id_cache__origname(const char *sbuild_id);
38char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size);
39char *build_id_cache__cachedir(const char *sbuild_id, const char *name,

--- 21 unchanged lines hidden ---
36bool perf_session__read_build_ids(struct perf_session *session, bool with_hits);
37int perf_session__write_buildid_table(struct perf_session *session,
38 struct feat_fd *fd);
39int perf_session__cache_build_ids(struct perf_session *session);
40
41char *build_id_cache__origname(const char *sbuild_id);
42char *build_id_cache__linkname(const char *sbuild_id, char *bf, size_t size);
43char *build_id_cache__cachedir(const char *sbuild_id, const char *name,

--- 21 unchanged lines hidden ---