Home
last modified time | relevance | path

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

123

/linux/lib/
A 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()
85 !parse_build_id(page_addr, build_id, size, in get_build_id_32()
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
155 ret = get_build_id_32(page_addr, build_id, size); in build_id_parse()
157 ret = get_build_id_64(page_addr, build_id, size); in build_id_parse()
[all …]
/linux/tools/perf/util/
A 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);
A Dgenelf.c78 char build_id[20]; member
107 size_t sz = sizeof(note->build_id); in gen_build_id()
114 sret = read(fd, note->build_id, sz); in gen_build_id()
119 memset(note->build_id, 0, sz); in gen_build_id()
130 if (sizeof(note->build_id) < SHA_DIGEST_LENGTH) in gen_build_id()
133 SHA1(code, csize, (unsigned char *)note->build_id); in gen_build_id()
143 if (sizeof(note->build_id) < 16) in gen_build_id()
149 MD5_Final((unsigned char *)note->build_id, &context); in gen_build_id()
462 bnote.desc.descsz = sizeof(bnote.build_id); in jit_write_elf()
A Dbuild-id.c96 .build_id = perf_event__process_build_id,
100 int build_id__sprintf(const struct build_id *build_id, char *bf) in build_id__sprintf() argument
103 const u8 *raw = build_id->data; in build_id__sprintf()
108 for (i = 0; i < build_id->size; ++i) { in build_id__sprintf()
120 struct build_id bid; in sysfs__sprintf_build_id()
137 struct build_id bid; in filename__sprintf_build_id()
309 static int write_buildid(const char *name, size_t name_len, struct build_id *bid, in write_buildid()
813 static int build_id_cache__add_b(const struct build_id *bid, in build_id_cache__add_b()
944 void build_id__init(struct build_id *bid, const u8 *data, size_t size) in build_id__init()
951 bool build_id__is_defined(const struct build_id *bid) in build_id__is_defined()
A 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()
A Dsymbol.h26 struct build_id;
159 int filename__read_build_id(const char *filename, struct build_id *id);
160 int sysfs__read_build_id(const char *filename, struct build_id *bid);
A Ddso.h180 struct build_id bid;
264 void dso__set_build_id(struct dso *dso, struct build_id *bid);
265 bool dso__build_id_equal(const struct dso *dso, struct build_id *bid);
A Dsymbol-elf.c542 static int read_build_id(const char *filename, struct build_id *bid) in read_build_id()
557 if (!abfd->build_id || abfd->build_id->size > size) in read_build_id()
560 memcpy(bid->data, abfd->build_id->data, abfd->build_id->size); in read_build_id()
561 memset(bid->data + abfd->build_id->size, 0, size - abfd->build_id->size); in read_build_id()
562 err = bid->size = abfd->build_id->size; in read_build_id()
571 static int read_build_id(const char *filename, struct build_id *bid) in read_build_id()
636 int sysfs__read_build_id(const char *filename, struct build_id *bid) in sysfs__read_build_id()
874 u8 build_id[BUILD_ID_SIZE]; in symsrc__init() local
875 struct build_id bid; in symsrc__init()
878 size = elf_read_build_id(elf, build_id, BUILD_ID_SIZE); in symsrc__init()
[all …]
A Dmap.h107 struct build_id;
111 struct build_id *bid, char *filename, struct thread *thread);
A Drecord.h54 bool build_id; member
A Dtool.h68 event_op2 build_id, member
A Dsynthetic-events.c369 struct build_id bid; in perf_record_mmap2__read_build_id()
378 memcpy(event->build_id, bid.data, sizeof(bid.data)); in perf_record_mmap2__read_build_id()
2081 memcpy(&ev.build_id.build_id, pos->bid.data, sizeof(pos->bid.data)); in perf_event__synthesize_build_id()
2082 ev.build_id.header.type = PERF_RECORD_HEADER_BUILD_ID; in perf_event__synthesize_build_id()
2083 ev.build_id.header.misc = misc; in perf_event__synthesize_build_id()
2084 ev.build_id.pid = machine->pid; in perf_event__synthesize_build_id()
2085 ev.build_id.header.size = sizeof(ev.build_id) + len; in perf_event__synthesize_build_id()
2086 memcpy(&ev.build_id.filename, pos->long_name, pos->long_name_len); in perf_event__synthesize_build_id()
/linux/tools/testing/selftests/bpf/prog_tests/
A Dstacktrace_build_id.c67 char build_id[64]; in test_stacktrace_build_id() local
77 sprintf(build_id + 2 * j, "%02x", in test_stacktrace_build_id()
78 id_offs[i].build_id[j] & 0xff); in test_stacktrace_build_id()
79 if (strstr(buf, build_id) != NULL) in test_stacktrace_build_id()
A Dstacktrace_build_id_nmi.c109 char build_id[64]; in test_stacktrace_build_id_nmi() local
119 sprintf(build_id + 2 * j, "%02x", in test_stacktrace_build_id_nmi()
120 id_offs[i].build_id[j] & 0xff); in test_stacktrace_build_id_nmi()
121 if (strstr(buf, build_id) != NULL) in test_stacktrace_build_id_nmi()
/linux/tools/perf/
A Dperf-archive.sh35 while read build_id ; do
36 linkname=$PERF_BUILDID_DIR.build-id/${build_id:0:2}/${build_id:2}
A 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/tools/build/feature/
A Dtest-libbfd-buildid.c7 return abfd && (!abfd->build_id || abfd->build_id->size > 0x506564726f); in main()
/linux/include/linux/
A 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/drivers/hwmon/
A Dsch5627.c363 int err, build_code, build_id, hwmon_rev, val; in sch5627_probe() local
409 build_id = sch56xx_read_virtual_reg16(data->addr, in sch5627_probe()
411 if (build_id < 0) in sch5627_probe()
412 return build_id; in sch5627_probe()
444 build_code, build_id, hwmon_rev); in sch5627_probe()
453 (build_code << 24) | (build_id << 8) | hwmon_rev, in sch5627_probe()
/linux/tools/lib/perf/include/perf/
A Devent.h39 __u8 build_id[20]; member
222 __u8 build_id[24]; member
415 struct perf_record_header_build_id build_id; member
/linux/drivers/soc/qcom/
A Dsocinfo.c115 char build_id[SMEM_SOCINFO_BUILD_ID_LENGTH]; member
357 seq_printf(seq, "%s\n", socinfo->build_id); in qcom_show_build_id()
424 QCOM_OPEN(build_id, qcom_show_build_id);
572 DEBUGFS_ADD(info, build_id); in socinfo_debugfs_init()
/linux/tools/perf/scripts/python/
A Dexport-to-postgresql.py1003 def dso_table(dso_id, machine_id, short_name, long_name, build_id, *x): argument
1006 build_id = toserverstr(build_id)
1009 n3 = len(build_id)
1011 value = struct.pack(fmt, 5, 8, dso_id, 8, machine_id, n1, short_name, n2, long_name, n3, build_id)
/linux/tools/perf/tests/
A Dpe-file-parsing.c27 struct build_id bid; in run_dir()
A Dsdt.c31 struct build_id bid; in build_id_cache__add_file()
/linux/drivers/net/phy/
A Daquantia_main.c475 u8 fw_major, fw_minor, build_id, prov_id; in aqr107_chip_info() local
489 build_id = FIELD_GET(VEND1_GLOBAL_RSVD_STAT1_FW_BUILD_ID, val); in aqr107_chip_info()
493 fw_major, fw_minor, build_id, prov_id); in aqr107_chip_info()

Completed in 43 milliseconds

123