March 30, 2010

about __NR_perf_event_open


I am new to linux.
I downloaded and compiled the kernel source (ubuntu 9.1) successfully. The purpose was that I could use the sys call __NR_perf_event_open.
This sys call is available in the kernel_source/arch/x86/include/asm/unistd_32/64.h
However when I compiled the source, this sys call is not present in

Interestingly, when I use Vmware as guest in windows and compiled the same source, the sys call is available in $HOME/usr/include/asm/unistd_32/64.h

I need to use __NR_perf_event_open (in a stand alone system i.e. just linux) or __NR_perf_counter_open
What should I do? Its been the whole weekend I been trying. Please help me.


Click Here!