AnsweredAssumed Answered

oprofile on the iMX6 platform error

Question asked by Olivier LE ROY on Oct 2, 2012
Latest reply on Jun 13, 2017 by ko-hey

Hello,

 

has anyone got oprofile working on the i.MX6 platform?

I used to use oprofile on the i.MX51 platform, and it worked perfectly. I follow the same procedure on the i.MX6, and I always get the same error:

 

opreport error: No sample file found: try running opcontrol --dump

or specify a session containing sample files

 

I have this error with kernels 3.0.15 and 3.0.35 from ltib.


oprofile procedure:


 

# opcontrol --deinit
# opcontrol --vmlinux=/boot/vmlinux-3.0.35
# opcontrol --init
# opcontrol --reset
# opcontrol --start
# ./test-program
# opcontrol --stop
# opreport -l ./test-program 

Outcomes