Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] OT: Using oprofile on buildroot system
@ 2014-08-20 15:33 Grant Edwards
  2014-08-20 15:59 ` Grant Edwards
  0 siblings, 1 reply; 2+ messages in thread
From: Grant Edwards @ 2014-08-20 15:33 UTC (permalink / raw)
  To: buildroot

I'm trying to get oprofile 0.9.9 running on my ARM9 biuldroot target.
I've enabled oprofile support in my kernel (2.6.33), and the oprofile
package builds fine, and the binaries are where they should be on the
target system.  But, when I try to run opcontrol, it appears to be
trying to load a runtime kernel module:

  # opcontrol --init
  modprobe: chdir(/lib/modules): No such file or directory
  modprobe: chdir(/lib/modules): No such file or directory
  Kernel doesn't support oprofile
 
The oprofile docs say you can enable oprofile support either as a
module or built-in, and I have done the latter -- so despite what
opcontrol says, my kernel _does_ support oprofile. 

I don't have loadable module support enabled in my kernel so of course
modprobe isn't going to work. 

Does anybody have any hints on getting oprofile running?

Any ideas on what module opcontrol might be trying to load?

[I've asked these questions on the oprofile mailing list, but haven't
gotten any response.]

-- 
Grant Edwards               grant.b.edwards        Yow! Why are these athletic
                                  at               shoe salesmen following
                              gmail.com            me??

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-08-20 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-20 15:33 [Buildroot] OT: Using oprofile on buildroot system Grant Edwards
2014-08-20 15:59 ` Grant Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox