<?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>topic Re: Unable to execute bootchart in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-execute-bootchart/m-p/1512006#M194298</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Modify the following file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo vim /usr/lib/python2.7/dist-packages/pybootchartgui/draw.py&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xscale = float(chart_bounds[2]) / max(0.00001, max(x for (x,y) in data))&lt;BR /&gt;201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;yscale = float(chart_bounds[3]) / max(0.00001, max(y for (x,y) in data))&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 01:15:45 GMT</pubDate>
    <dc:creator>Maximus</dc:creator>
    <dc:date>2022-08-26T01:15:45Z</dc:date>
    <item>
      <title>Unable to execute bootchart</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-execute-bootchart/m-p/1153850#M161892</link>
      <description>&lt;P&gt;NXP,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I got the bootchart data from IMX8QM. But, I unable to open the data. I got following error,&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:vino@Vm:~$" target="_blank" rel="noopener"&gt;vino@Vm:~$ &lt;/A&gt;&lt;STRONG&gt;bootchart&lt;/STRONG&gt;&lt;BR /&gt;/usr/lib/python2.7/dist-packages/gtk-2.0/gtk/__init__.py:57: GtkWarning: could not open display&lt;BR /&gt;warnings.warn(str(e), _gtk.Warning)&lt;BR /&gt;No path given, trying /var/log/bootchart.tgz&lt;BR /&gt;parsing '/var/log/bootchart.tgz'&lt;BR /&gt;parsing 'enabled'&lt;BR /&gt;parsing 'header'&lt;BR /&gt;parsing 'proc_diskstats.log'&lt;BR /&gt;parsing 'proc_ps.log'&lt;BR /&gt;warning: no parent for pid '2' with ppid '0'&lt;BR /&gt;parsing 'proc_stat.log'&lt;BR /&gt;parsing 'start'&lt;BR /&gt;merged 0 logger processes&lt;BR /&gt;pruned 73 process, 0 exploders, 11 threads, and 1 runs&lt;BR /&gt;False&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt;File "/usr/bin/bootchart", line 23, in &amp;lt;module&amp;gt;&lt;BR /&gt;sys.exit(main())&lt;BR /&gt;File "/usr/lib/python2.7/dist-packages/pybootchartgui/main.py", line 137, in main&lt;BR /&gt;render()&lt;BR /&gt;File "/usr/lib/python2.7/dist-packages/pybootchartgui/main.py", line 128, in render&lt;BR /&gt;batch.render(writer, res, options, filename)&lt;BR /&gt;File "/usr/lib/python2.7/dist-packages/pybootchartgui/batch.py", line 41, in render&lt;BR /&gt;draw.render(ctx, options, *res)&lt;BR /&gt;File "/usr/lib/python2.7/dist-packages/pybootchartgui/draw.py", line 282, in render&lt;BR /&gt;draw_chart(ctx, IO_COLOR, True, chart_rect, [(sample.time, sample.util) for sample in disk_stats], proc_tree)&lt;BR /&gt;File "/usr/lib/python2.7/dist-packages/pybootchartgui/draw.py", line 201, in draw_chart&lt;BR /&gt;yscale = float(chart_bounds[3]) / max(y for (x,y) in data)&lt;BR /&gt;ZeroDivisionError: float division by zero&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Linux Version&lt;/STRONG&gt; : 16.04&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Bootchart&lt;/STRONG&gt;: IMX8QM-MEK Android 9 Automotive&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 16 Sep 2020 05:24:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-execute-bootchart/m-p/1153850#M161892</guid>
      <dc:creator>vinothkumars</dc:creator>
      <dc:date>2020-09-16T05:24:42Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to execute bootchart</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Unable-to-execute-bootchart/m-p/1512006#M194298</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Modify the following file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;sudo vim /usr/lib/python2.7/dist-packages/pybootchartgui/draw.py&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;200&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;xscale = float(chart_bounds[2]) / max(0.00001, max(x for (x,y) in data))&lt;BR /&gt;201&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;yscale = float(chart_bounds[3]) / max(0.00001, max(y for (x,y) in data))&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 01:15:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Unable-to-execute-bootchart/m-p/1512006#M194298</guid>
      <dc:creator>Maximus</dc:creator>
      <dc:date>2022-08-26T01:15:45Z</dc:date>
    </item>
  </channel>
</rss>

