<?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>i.MX ProcessorsのトピックRe: gcov issues on kernel</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/gcov-issues-on-kernel/m-p/774529#M120237</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure that these files are accessible for write. I mean the filesystem is not read-only and the files have appropriate permissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Feb 2018 09:02:10 GMT</pubDate>
    <dc:creator>b36401</dc:creator>
    <dc:date>2018-02-27T09:02:10Z</dc:date>
    <item>
      <title>gcov issues on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gcov-issues-on-kernel/m-p/774528#M120236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Trying to get gcov working on imx6 platform with linux.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When enabled with following options,&lt;/P&gt;&lt;P&gt;CONFIG_GCOV_KERNEL=y&lt;BR /&gt;CONFIG_ARCH_HAS_GCOV_PROFILE_ALL=y&lt;BR /&gt;CONFIG_GCOV_PROFILE_ALL=y&lt;BR /&gt;CONFIG_GCOV_FORMAT_AUTODETECT=y&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When compiled, .tmp_driver_name.gcno file will be created.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;.tmp_spi-imx.gcno&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;kernel zImage seems to be 14mb in&amp;nbsp; size.&amp;nbsp;&lt;/P&gt;&lt;P&gt;When loaded, system boots and corresponding .gcda and .gcno files are created under directory /sys/kernel/debug/gcov&lt;/P&gt;&lt;P&gt;Here actually spi-imx.gcno files got created at runtime is a softlink for&amp;nbsp;&lt;SPAN&gt;.tmp_spi-imx.gcno(created actually during compilation time). So it requires kernel sources to be part of rootfs on the target file system, where device is running.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This status is on bootup. once test code for corresponding driver is executed, there is no update happening on the spi-imx.gcda file. Still the file seems to be empty.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kernel been used is 4.15 kernel.&lt;/P&gt;&lt;P&gt;gcc version is 5.3.&lt;/P&gt;&lt;P&gt;Added changes related to latest stable kernel for gcov to support gcc version above 5. Since current code support only upto gcc version 4.7&lt;/P&gt;&lt;P&gt;Still .gcda files are empty. Could not get the code coverage data of the kernel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Feb 2018 11:30:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gcov-issues-on-kernel/m-p/774528#M120236</guid>
      <dc:creator>learner24</dc:creator>
      <dc:date>2018-02-26T11:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: gcov issues on kernel</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/gcov-issues-on-kernel/m-p/774529#M120237</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Please make sure that these files are accessible for write. I mean the filesystem is not read-only and the files have appropriate permissions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Victor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 09:02:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/gcov-issues-on-kernel/m-p/774529#M120237</guid>
      <dc:creator>b36401</dc:creator>
      <dc:date>2018-02-27T09:02:10Z</dc:date>
    </item>
  </channel>
</rss>

