LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 03-29-2010, 09:21 AM   #1
asadgul81
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
Question __NR_perf_event_open is not avalaible in a newly compiled (2.6.33.1) kernel


Hi

I am new to linux.
I downloaded and compiled the kernel source 2.6.33.1 (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
$HOME/usr/include/asm/unistd_32/64.h

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.

Regards
Gul
 
Old 04-04-2010, 08:33 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,135

Rep: Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122Reputation: 4122
Have a look in ../include/asm-generic/unistd.h
No idea what's happening in VMWare.
(I haven't had a look at perf yet - must do it sometime.)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
newly compiled kernel problem manyoo Linux - Kernel 3 12-07-2006 10:01 PM
Newly compiled kernel won't boot nivantha Linux - Kernel 3 09-14-2006 03:02 AM
Troubleshooting Newly Compiled Kernel binarybob0001 Linux - General 2 11-20-2005 04:06 AM
Newly compiled kernel behaves as if it was the old one? grayFalcon Linux - Software 4 06-03-2004 04:52 AM
Problem with newly compiled 2.4.22 kernel Xero720 Slackware 2 09-06-2003 12:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel

All times are GMT -5. The time now is 03:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration