Home
last modified time | relevance | path

Searched refs:dso__data (Results 1 – 10 of 10) sorted by relevance

/linux-6.12.1/tools/perf/util/
Ddso.c499 list_add_tail(&dso__data(dso)->open_entry, &dso__data_open); in dso__list_add()
501 dso__data(dso)->dso = dso__get(dso); in dso__list_add()
510 list_del_init(&dso__data(dso)->open_entry); in dso__list_del()
512 dso__put(dso__data(dso)->dso); in dso__list_del()
640 if (dso__data(dso)->fd >= 0) { in close_data_fd()
641 close(dso__data(dso)->fd); in close_data_fd()
642 dso__data(dso)->fd = -1; in close_data_fd()
643 dso__data(dso)->file_size = 0; in close_data_fd()
750 struct dso_data *dso_data = dso__data(dso); in try_to_open_dso()
786 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR) in dso__data_get_fd()
[all …]
Dunwind-libunwind-local.c332 if (dso__data(dso)->eh_frame_hdr_offset == 0) { in read_unwind_spec_eh_frame()
339 &dso__data(dso)->eh_frame_hdr_addr, in read_unwind_spec_eh_frame()
340 &dso__data(dso)->eh_frame_hdr_offset); in read_unwind_spec_eh_frame()
341 dso__data(dso)->elf_base_addr = elf_base_address(fd); in read_unwind_spec_eh_frame()
343 if (ret || dso__data(dso)->eh_frame_hdr_offset == 0) in read_unwind_spec_eh_frame()
349 args.base_addr -= dso__data(dso)->elf_base_addr; in read_unwind_spec_eh_frame()
351 *segbase = args.base_addr + dso__data(dso)->eh_frame_hdr_addr; in read_unwind_spec_eh_frame()
352 ret = unwind_spec_ehframe(dso, ui->machine, dso__data(dso)->eh_frame_hdr_offset, in read_unwind_spec_eh_frame()
366 u64 ofs = dso__data(dso)->debug_frame_offset; in read_unwind_spec_debug_frame()
424 dso__data(dso)->debug_frame_offset = ofs; in read_unwind_spec_debug_frame()
Dthread.c456 if (!dso || dso__data(dso)->status == DSO_DATA_STATUS_ERROR || map__load(al.map) < 0) { in thread__memcpy()
Ddso.h348 static inline struct dso_data *dso__data(struct dso *dso) in dso__data() function
Dauxtrace.c2662 filt->size = dso__data(dso)->file_size; in addr_filter__entire_dso()
Dcs-etm.c1127 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR && in cs_etm__mem_access()
Dmachine.c707 dso__data(dso)->file_size = event->ksymbol.len; in machine__process_ksymbol_register()
Dintel-pt.c824 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR && in intel_pt_walk_next_insn()
/linux-6.12.1/tools/perf/tests/
Ddso-data.c290 TEST_ASSERT_VAL("dsos[0] is not open", dso__data(machine.dsos.dsos[0])->fd != -1); in test__dso_data_cache()
297 TEST_ASSERT_VAL("failed to close dsos[0]", dso__data(machine.dsos.dsos[0])->fd == -1); in test__dso_data_cache()
373 TEST_ASSERT_VAL("failed to close dso_0", dso__data(dso_0)->fd == -1); in test__dso_data_reopen()
383 TEST_ASSERT_VAL("failed to close dso_1", dso__data(dso_1)->fd == -1); in test__dso_data_reopen()
/linux-6.12.1/tools/perf/
Dbuiltin-script.c1108 if (dso__data(dso)->status == DSO_DATA_STATUS_ERROR) { in grab_bb()