Oprofile not working with Linux 3.0.35_4.1.0 freescale release

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Oprofile not working with Linux 3.0.35_4.1.0 freescale release

ソリューションへジャンプ
916件の閲覧回数
NithinkumarN
Contributor II

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

ラベル(2)
タグ(2)
1 解決策
770件の閲覧回数
NithinkumarN
Contributor II

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

元の投稿で解決策を見る

1 返信
771件の閲覧回数
NithinkumarN
Contributor II

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