Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syscall_perf_event_open function #25

Open
ali-zohrevand opened this issue Apr 29, 2014 · 0 comments
Open

syscall_perf_event_open function #25

ali-zohrevand opened this issue Apr 29, 2014 · 0 comments

Comments

@ali-zohrevand
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant