<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Other NXP Products中的主题 Performance measurement using oprofile on MPC5200 embedded platform</title>
    <link>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174200#M1181</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm trying to get Oprofile to work on an embedded system (Freescale MPC5200, and&lt;/DIV&gt;&lt;DIV&gt;Linux &lt;SPAN class="yshortcuts"&gt;&lt;SPAN class="yshortcuts"&gt;release tag ltib-mpc5200-20051213&lt;/SPAN&gt;&lt;/SPAN&gt;). I added the following to the config file:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_PROFILING=y&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_OPROFILE=y&lt;/DIV&gt;&lt;DIV&gt;and enabled the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_PKG_OPROFILE=y&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;On the first build, I got dependency errors, so I&amp;nbsp;added the binutils and popt pkgs to&lt;/DIV&gt;&lt;DIV&gt;the config file.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thereafter, it built correctly, but when the image is transferred to the target, and I&lt;/DIV&gt;&lt;DIV&gt;run any opcontrol command (for example: opcontrol --no-vmlinux), I get:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FATAL: Module oprofile not found.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FATAL: Module oprofile not found.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kernel doesn't support oprofile.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I do an lsmod | grep oprof, oprofile doesn't show up.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In /usr/bin, I have op_help, opannotate, oparchive, opcontrol, opgprof, opreport,&lt;/DIV&gt;&lt;DIV&gt;oprofiled, and opstack. The directory /usr/share/oprofile is present, with all the arch&lt;/DIV&gt;&lt;DIV&gt;subdirs. Also, the docs are present in /usr/share/oprofile.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I got the same result building with CONFIG_OPROFILE=m.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any idea why this is happening? To me it looks like the driver is not being built and&lt;/DIV&gt;&lt;DIV&gt;included correctly.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;One caveat to our build method is that we specify the device directories during the&lt;/DIV&gt;&lt;DIV&gt;image build, by "mknod dev/watchdog c 10 130", etc., in the rootfs of the image that&lt;/DIV&gt;&lt;DIV&gt;gets installed on the target, and so udevd&amp;nbsp;is not enabled&amp;nbsp;on the target. Do I need to&lt;/DIV&gt;&lt;DIV&gt;add an entry for oprofile? Will building as a kernel module not work in this case, ie:&lt;/DIV&gt;&lt;DIV&gt;with CONFIG_OPROFILE=y?&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help would be greatly appreciated.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;John&lt;/DIV&gt;&amp;nbsp;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Apr 2009 21:03:25 GMT</pubDate>
    <dc:creator>jkoshi</dc:creator>
    <dc:date>2009-04-21T21:03:25Z</dc:date>
    <item>
      <title>Performance measurement using oprofile on MPC5200 embedded platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174200#M1181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi,&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm trying to get Oprofile to work on an embedded system (Freescale MPC5200, and&lt;/DIV&gt;&lt;DIV&gt;Linux &lt;SPAN class="yshortcuts"&gt;&lt;SPAN class="yshortcuts"&gt;release tag ltib-mpc5200-20051213&lt;/SPAN&gt;&lt;/SPAN&gt;). I added the following to the config file:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_PROFILING=y&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_OPROFILE=y&lt;/DIV&gt;&lt;DIV&gt;and enabled the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;CONFIG_PKG_OPROFILE=y&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;On the first build, I got dependency errors, so I&amp;nbsp;added the binutils and popt pkgs to&lt;/DIV&gt;&lt;DIV&gt;the config file.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thereafter, it built correctly, but when the image is transferred to the target, and I&lt;/DIV&gt;&lt;DIV&gt;run any opcontrol command (for example: opcontrol --no-vmlinux), I get:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FATAL: Module oprofile not found.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; FATAL: Module oprofile not found.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Kernel doesn't support oprofile.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;When I do an lsmod | grep oprof, oprofile doesn't show up.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In /usr/bin, I have op_help, opannotate, oparchive, opcontrol, opgprof, opreport,&lt;/DIV&gt;&lt;DIV&gt;oprofiled, and opstack. The directory /usr/share/oprofile is present, with all the arch&lt;/DIV&gt;&lt;DIV&gt;subdirs. Also, the docs are present in /usr/share/oprofile.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I got the same result building with CONFIG_OPROFILE=m.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any idea why this is happening? To me it looks like the driver is not being built and&lt;/DIV&gt;&lt;DIV&gt;included correctly.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;One caveat to our build method is that we specify the device directories during the&lt;/DIV&gt;&lt;DIV&gt;image build, by "mknod dev/watchdog c 10 130", etc., in the rootfs of the image that&lt;/DIV&gt;&lt;DIV&gt;gets installed on the target, and so udevd&amp;nbsp;is not enabled&amp;nbsp;on the target. Do I need to&lt;/DIV&gt;&lt;DIV&gt;add an entry for oprofile? Will building as a kernel module not work in this case, ie:&lt;/DIV&gt;&lt;DIV&gt;with CONFIG_OPROFILE=y?&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any help would be greatly appreciated.&lt;/DIV&gt;&lt;DIV&gt;.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards,&lt;/DIV&gt;&lt;DIV&gt;John&lt;/DIV&gt;&amp;nbsp;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Apr 2009 21:03:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174200#M1181</guid>
      <dc:creator>jkoshi</dc:creator>
      <dc:date>2009-04-21T21:03:25Z</dc:date>
    </item>
    <item>
      <title>Re: Performance measurement using oprofile on MPC5200 embedded platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174201#M1182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you have any luck with this?&lt;/P&gt;&lt;P&gt;I'm trying to get oprofile working on my mcf54455 evaluation board. Like you, my kernel seems to be missing options to allow profiling features to be built in...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2009 22:55:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174201#M1182</guid>
      <dc:creator>mjlear</dc:creator>
      <dc:date>2009-05-12T22:55:45Z</dc:date>
    </item>
    <item>
      <title>Re: Performance measurement using oprofile on MPC5200 embedded platform</title>
      <link>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174202#M1183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;The bsp from 2005 that you are using is really old.&amp;nbsp; The latest Lite5200B bsp is from 2007.&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#000000" face="arial,helvetica,sans-serif"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;FONT color="#000000"&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;I just installed the latest bsp for the 5200B.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; It is two years newer than the one the customer is using.&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; I compiled oprofile as module and the module is in the rootfs.&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;You&lt;/SPAN&gt;&amp;nbsp;should switch to the newer bsp which he can get here.&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT color="#000000" face="Consolas" size="3"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0127260061033202A5621E" rel="nofollow" target="_blank"&gt;&lt;FONT color="#800080" face="Consolas" size="3"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0127260061033202A5621E" target="test_blank"&gt;http://www.freescale.com/webapp/sps/site/overview.jsp?nodeId=0127260061033202A5621E&lt;/A&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 May 2009 21:26:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Other-NXP-Products/Performance-measurement-using-oprofile-on-MPC5200-embedded/m-p/174202#M1183</guid>
      <dc:creator>fsl_linux_spt</dc:creator>
      <dc:date>2009-05-20T21:26:46Z</dc:date>
    </item>
  </channel>
</rss>

