Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-06-2012, 04:38 AM   #1
LQ Newbie
Registered: Apr 2012
Posts: 29

Rep: Reputation: Disabled
compiling oprofile error

When trying to compile oprofile 0.9.8 I get this error how to fix this,

operf_utils.cpp: In function ‘void __handle_sample_event(event_t*, u64)’:
operf_utils.cpp:735: error: ‘PERF_RECORD_MISC_GUEST_KERNEL’ was not declared in this scope
operf_utils.cpp:738: error: ‘PERF_RECORD_MISC_GUEST_USER’ was not declared in this scope
make[1]: *** [operf_utils.o] Error 1

./configure --with-kernel-support works ok this happens in make install
Old 09-06-2012, 07:12 AM   #2
LQ 5k Club
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
If we knew which distro you were using, you might get more help. Such as the possibility of there being a ready made package.


cpu, linux, measurement, profile

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Using OProfile DKSL Linux - Software 0 09-05-2012 03:37 PM
oprofile zanier Linux - Kernel 1 08-15-2012 01:23 AM
How can I use oprofile jeffwang66 Linux - General 0 04-29-2011 03:27 PM
Using oprofile on Centos Linux Unable to complete dump of oprofile data Frank36 Linux - Newbie 0 04-26-2011 11:42 AM
problem in compiling oprofile for arm namit2010 Linux - Software 1 06-18-2009 12:16 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:28 AM.

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