Lines Matching refs:offset
75 unsigned long long offset; in parse_elf64() local
81 offset = ehdr.e_phoff; in parse_elf64()
84 rc = fseek(fp, offset, SEEK_SET); in parse_elf64()
95 offset+=s; in parse_elf64()
102 offset = ehdr.e_shoff; in parse_elf64()
106 rc = fseek(fp, offset, SEEK_SET); in parse_elf64()
111 offset+=s; in parse_elf64()
122 offset = headers[i].sh_offset; in parse_elf64()
128 rc = fseek(fp, offset+k, SEEK_SET); if (rc<0) continue; in parse_elf64()
147 …ath, unsigned long long addr, unsigned long long size, unsigned long long offset, STORE_T& store) { in load_symbol_from_file() argument
161 parse_elf64(fp, addr, size, offset, store); in load_symbol_from_file()
196 unsigned long long start, end, offset; in load_symbol_pid() local
207 offset = parse_hex(p+i, &c); if (c==0) continue; in load_symbol_pid()
211 load_symbol_from_file(bb, start, end-start, offset, *store); in load_symbol_pid()
275 int process_event(char *base, unsigned long long size, unsigned long long offset) { in process_event() argument
279 offset%=size; in process_event()
281 p = (struct perf_event_header*) (base+offset); in process_event()
282 offset+=sizeof(*p); if (offset>=size) offset-=size; in process_event()
285 pid = *((int *)(base+offset)); offset+=8; if (offset>=size) offset-=size; in process_event()
286 …unsigned long long nr = *((unsigned long long*)(base+offset)); offset+=8; if (offset>=size) offset… in process_event()
294 addr0 = *((unsigned long long *)(base+offset)); in process_event()
297 o = i*8+offset; if (o>=size) o-=size; in process_event()