Home
last modified time | relevance | path

Searched refs:build_id (Results 1 – 25 of 70) sorted by relevance

123

/linux-6.6.21/lib/
Dbuildid.c16 static int parse_build_id_buf(unsigned char *build_id, in parse_build_id_buf() argument
31 memcpy(build_id, in parse_build_id_buf()
35 memset(build_id + nhdr->n_descsz, 0, in parse_build_id_buf()
52 unsigned char *build_id, in parse_build_id() argument
65 return parse_build_id_buf(build_id, size, note_start, note_size); in parse_build_id()
69 static int get_build_id_32(const void *page_addr, unsigned char *build_id, in get_build_id_32() argument
85 !parse_build_id(page_addr, build_id, size, in get_build_id_32()
94 static int get_build_id_64(const void *page_addr, unsigned char *build_id, in get_build_id_64() argument
110 !parse_build_id(page_addr, build_id, size, in get_build_id_64()
126 int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id, in build_id_parse() argument
[all …]
/linux-6.6.21/tools/perf/util/
Dbuild-id.h14 struct build_id { struct
25 void build_id__init(struct build_id *bid, const u8 *data, size_t size); argument
26 int build_id__sprintf(const struct build_id *build_id, char *bf);
27 bool build_id__is_defined(const struct build_id *bid);
Dgenelf.c79 char build_id[20]; member
108 size_t sz = sizeof(note->build_id); in gen_build_id()
115 sret = read(fd, note->build_id, sz); in gen_build_id()
120 memset(note->build_id, 0, sz); in gen_build_id()
131 if (sizeof(note->build_id) < SHA_DIGEST_LENGTH) in gen_build_id()
134 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id()
144 if (sizeof(note->build_id) < 16) in gen_build_id()
154 EVP_DigestFinal_ex(mdctx, (unsigned char *)note->build_id, NULL); in gen_build_id()
483 bnote.desc.descsz = sizeof(bnote.build_id); in jit_write_elf()
Dbuild-id.c98 .build_id = perf_event__process_build_id,
102 int build_id__sprintf(const struct build_id *build_id, char *bf) in build_id__sprintf() argument
105 const u8 *raw = build_id->data; in build_id__sprintf()
110 for (i = 0; i < build_id->size; ++i) { in build_id__sprintf()
122 struct build_id bid; in sysfs__sprintf_build_id()
139 struct build_id bid; in filename__sprintf_build_id()
305 static int write_buildid(const char *name, size_t name_len, struct build_id *bid, in write_buildid()
824 static int build_id_cache__add_b(const struct build_id *bid, in build_id_cache__add_b()
889 struct build_id *bid, in filename__read_build_id_ns()
904 struct build_id bid; in dso__build_id_mismatch()
[all …]
Dsymbol-minimal.c34 static int read_build_id(void *note_data, size_t note_len, struct build_id *bid, in read_build_id()
89 int filename__read_build_id(const char *filename, struct build_id *bid) in filename__read_build_id()
225 int sysfs__read_build_id(const char *filename, struct build_id *bid) in sysfs__read_build_id()
344 struct build_id bid; in dso__load_sym()
Dsymbol.h27 struct build_id;
143 int filename__read_build_id(const char *filename, struct build_id *id);
144 int sysfs__read_build_id(const char *filename, struct build_id *bid);
Ddso.h182 struct build_id bid;
276 void dso__set_build_id(struct dso *dso, struct build_id *bid);
277 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid);
Drecord.h54 bool build_id; member
Dsymbol-elf.c937 static int read_build_id(const char *filename, struct build_id *bid) in read_build_id()
952 if (!abfd->build_id || abfd->build_id->size > size) in read_build_id()
955 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in read_build_id()
956 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size); in read_build_id()
957 err = bid->size = abfd->build_id->size; in read_build_id()
966 static int read_build_id(const char *filename, struct build_id *bid) in read_build_id()
998 int filename__read_build_id(const char *filename, struct build_id *bid) in filename__read_build_id()
1031 int sysfs__read_build_id(const char *filename, struct build_id *bid) in sysfs__read_build_id()
1269 u8 build_id[BUILD_ID_SIZE]; in symsrc__init() local
1270 struct build_id bid; in symsrc__init()
[all …]
Dtool.h69 event_op2 build_id, member
Dprobe-finder.h36 const unsigned char *build_id; member
/linux-6.6.21/tools/perf/
Dperf-archive.sh35 while read build_id ; do
36 linkname=$PERF_BUILDID_DIR.build-id/${build_id:0:2}/${build_id:2}
Dbuiltin-buildid-cache.c178 struct build_id bid; in build_id_cache__add_file()
201 struct build_id bid; in build_id_cache__remove_file()
278 struct build_id bid; in dso__missing_buildid_cache()
304 struct build_id bid; in build_id_cache__update_file()
/linux-6.6.21/tools/build/feature/
Dtest-libbfd-buildid.c7 return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); in main()
/linux-6.6.21/include/linux/
Dbuildid.h9 int build_id_parse(struct vm_area_struct *vma, unsigned char *build_id,
11 int build_id_parse_buf(const void *buf, unsigned char *build_id, u32 buf_size);
/linux-6.6.21/tools/testing/selftests/bpf/
Dtrace_helpers.c245 parse_build_id_buf(const void *note_start, Elf32_Word note_size, char *build_id) in parse_build_id_buf() argument
255 memcpy(build_id, note_start + note_offs + in parse_build_id_buf()
257 memset(build_id + nhdr->n_descsz, 0, BPF_BUILD_ID_SIZE - nhdr->n_descsz); in parse_build_id_buf()
273 int read_build_id(const char *path, char *build_id, size_t size) in read_build_id() argument
311 err = parse_build_id_buf(data + phdr->p_offset, phdr->p_memsz, build_id); in read_build_id()
Dtrace_helpers.h29 int read_build_id(const char *path, char *build_id, size_t size);
/linux-6.6.21/drivers/hwmon/
Dsch5627.c439 int err, build_code, build_id, hwmon_rev, val; in sch5627_probe() local
485 build_id = sch56xx_read_virtual_reg16(data->addr, in sch5627_probe()
487 if (build_id < 0) in sch5627_probe()
488 return build_id; in sch5627_probe()
519 build_code, build_id, hwmon_rev); in sch5627_probe()
528 (build_code << 24) | (build_id << 8) | hwmon_rev, in sch5627_probe()
/linux-6.6.21/tools/lib/perf/include/perf/
Devent.h39 __u8 build_id[20]; member
296 __u8 build_id[24]; member
498 struct perf_record_header_build_id build_id; member
/linux-6.6.21/drivers/net/ethernet/sfc/
Defx_devlink.c246 unsigned int build_id; in efx_devlink_info_running_v2() local
319 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_MCFW_BUILD_ID); in efx_devlink_info_running_v2()
321 " (%x) %s", build_id, in efx_devlink_info_running_v2()
338 build_id = MCDI_DWORD(outbuf, GET_VERSION_V2_OUT_SUCFW_CHIP_ID); in efx_devlink_info_running_v2()
344 build_id, &build_date); in efx_devlink_info_running_v2()
/linux-6.6.21/kernel/bpf/
Dstackmap.c143 memset(id_offs[i].build_id, 0, BUILD_ID_SIZE_MAX); in stack_map_get_build_id_offset()
151 memcpy(id_offs[i].build_id, prev_build_id, in stack_map_get_build_id_offset()
156 if (!vma || build_id_parse(vma, id_offs[i].build_id, NULL)) { in stack_map_get_build_id_offset()
160 memset(id_offs[i].build_id, 0, BUILD_ID_SIZE_MAX); in stack_map_get_build_id_offset()
168 prev_build_id = id_offs[i].build_id; in stack_map_get_build_id_offset()
/linux-6.6.21/tools/perf/scripts/python/
Dexport-to-postgresql.py1006 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): argument
1009 build_id = toserverstr(build_id)
1012 n3 = len(build_id)
1014 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
/linux-6.6.21/include/linux/soc/qcom/
Dsocinfo.h20 char build_id[SMEM_SOCINFO_BUILD_ID_LENGTH]; member
/linux-6.6.21/tools/perf/tests/
Dpe-file-parsing.c27 struct build_id bid; in run_dir()
Dsdt.c31 struct build_id bid; in build_id_cache__add_file()

123