hi ..
in the perf_event.c we have this function syscall_perf_event_open
and this code in line 173
uint64_t buf[10] = { 0x4800000001, offset, 0, 0, 0, 0x300 };
then we have this
syscall(__NR_perf_event_open, buf, 0, -1, -1, 0);
what this syscall do??
what is the meaning of those parameter which we send 0,-1 ,-1,0?
thanks a lot for helping
hi .. in the perf_event.c we have this function syscall_perf_event_open and this code in line 173 uint64_t buf[10] = { 0x4800000001, offset, 0, 0, 0, 0x300 }; then we have this syscall(__NR_perf_event_open, buf, 0, -1, -1, 0); what this syscall do?? what is the meaning of those parameter which we send 0,-1 ,-1,0? thanks a lot for helping