Hi All,
I'm using Linux 3.0.35_4.1.0 freescale package for my i.MX6q custom board project.
I'm able to build LTIB in Ubuntu 14.04 system and able to load the file system and Linux kernel image.
Now my task is to enable Oprofile and test the same.
I have followed steps given in "Chapter 44: Oprofile" of Linux reference manual to add Oprofile package.
I' m able to build and load image successfully,
But when I'm running "opcontrol --start" command I'm getting below error in platform Linux terminal.
/usr/bin/opcontrol: line 1: /usr/bin/which: No such file or directory
/usr/bin/opcontrol: line 1: /usr/bin/dirname: No such file or directory
/usr/bin/opcontrol: line 1: /ophelp: No such file or directory
/usr/bin/opcontrol: line 1570: /op-check-perfevents: No such file or directory
/usr/bin/opcontrol: line 1: /ophelp: No such file or directory
Using default event:
/usr/bin/opcontrol: line 1628: /oprofiled: No such file or directory
Couldn't start oprofiled.
Check the log file "/var/lib/oprofile/samples/oprofiled.log" and kernel syslog
I have referred below link to resolve this issue,
oprofile on the iMX6 platform error
But still after doing changes mentioned in the link, I'm facing same problem.
Can any one help me to resolve this issue.
Thanks and Regards,
Nithin
解決済! 解決策の投稿を見る。
Hi,
Issue solved by soft linking this folders with folders present in /bin/ folder as below.
ln -s /bin/which/ /usr/bin/which
ln -s /bin/dirname /usr/bin/dirname
Thanks and Regards,
Nithin
Hi,
Issue solved by soft linking this folders with folders present in /bin/ folder as below.
ln -s /bin/which/ /usr/bin/which
ln -s /bin/dirname /usr/bin/dirname
Thanks and Regards,
Nithin