Lines Matching refs:offset
52 int process_event(char *base, unsigned long long size, unsigned long long offset) { in process_event() argument
56 offset%=size; in process_event()
58 p = (struct perf_event_header*) (base+offset); in process_event()
59 offset+=sizeof(*p); if (offset>=size) offset-=size; in process_event()
61 pid = *(int*)(base+offset); offset+=8; if (offset>=size) offset-=size; in process_event()
87 abi = *(unsigned long long*)(base+offset); offset+=8; if (offset>=size) offset-=size; in process_event()
89 … addr = *(unsigned long long*)(base+offset); offset+=8; if (offset>=size) offset-=size; //rax in process_event()
90 … arg3 = *(unsigned long long*)(base+offset); offset+=8; if (offset>=size) offset-=size; //rdx in process_event()
91 … arg2 = *(unsigned long long*)(base+offset); offset+=8; if (offset>=size) offset-=size; //rsi in process_event()
92 … arg1 = *(unsigned long long*)(base+offset); offset+=8; if (offset>=size) offset-=size; //rdi in process_event()
93 … arg4 = *(unsigned long long*)(base+offset); offset+=8; if (offset>=size) offset-=size; //r10 in process_event()