Home
last modified time | relevance | path

Searched refs:phdr (Results 1 – 4 of 4) sorted by relevance

/linux-tools/perf/profiler/
H A Dprofiler-kprobe.cpp82 Elf64_Phdr phdr; in parse_elf64() local
86 rc = fread(&phdr, sizeof(phdr), 1, fp); in parse_elf64()
88 if (phdr.p_flags&PF_X) { in parse_elf64()
89 if (phdr.p_offset == v_offset) { in parse_elf64()
90 p_vaddr = phdr.p_vaddr; in parse_elf64()
91 p_size = phdr.p_memsz; if (p_size==0) p_size = 0xffffffff; in parse_elf64()
H A Dprofiler.cpp85 Elf64_Phdr phdr; in parse_elf64() local
89 rc = fread(&phdr, sizeof(phdr), 1, fp); in parse_elf64()
91 if (phdr.p_flags&PF_X) { in parse_elf64()
92 if (phdr.p_offset == v_offset) { in parse_elf64()
93 p_vaddr = phdr.p_vaddr; in parse_elf64()
94 p_size = phdr.p_memsz; if (p_size==0) p_size = 0xffffffff; in parse_elf64()
/linux-tools/perf/contextswitch/
H A Dperf_cxt_switch_3.cpp82 Elf64_Phdr phdr; in parse_elf64() local
86 rc = fread(&phdr, sizeof(phdr), 1, fp); in parse_elf64()
88 if (phdr.p_flags&PF_X) { in parse_elf64()
89 if (phdr.p_offset == v_offset) { in parse_elf64()
90 p_vaddr = phdr.p_vaddr; in parse_elf64()
91 p_size = phdr.p_memsz; if (p_size==0) p_size = 0xffffffff; in parse_elf64()
/linux-tools/perf/uprobe/
H A Duprobe.cpp47 Elf64_Phdr phdr; in parse_elf64() local
51 rc = fread(&phdr, sizeof(phdr), 1, fp); in parse_elf64()
53 if (phdr.p_flags&PF_X) { in parse_elf64()
54 func.baddr=phdr.p_vaddr; in parse_elf64()
55 func.boffset=phdr.p_offset; in parse_elf64()