Re: [Powertop] segfault on Sheevaplug (ARM Kirkwood)

Rui DaCosta <ruidc at yahoo.com> Tue, 22 May 2012 14:58:21 -0700
Newsgroups dev.linux.lists.powertop
Message-ID <[email protected]>
nothing exists below /sys/kernel/debug
does the kernel need to be built with debug flags? or a switch flicked on somewhere?



________________________________
 From: Thomas Spura <thomas.spura(a)googlemail.com>
To: Rui DaCosta <ruidc(a)yahoo.com> 
Cc: powertop(a)lists.01.org 
Sent: Tuesday, 22 May 2012, 22:50
Subject: Re: [Powertop] segfault on Sheevaplug (ARM Kirkwood)
 
On Sun, May 20, 2012 at 11:19 AM, Rui DaCosta <ruidc(a)yahoo.com> wrote:
>
> Sure and thanks,
> (v1.13 worked fine btw)
> Processor       : Feroceon 88FR131 rev 1 (v5l)
> BogoMIPS        : 1191.11
> Features        : swp half thumb fastmult edsp
> CPU implementer : 0x56
> CPU architecture: 5TE
> CPU variant     : 0x2
> CPU part        : 0x131
> CPU revision    : 1
>
> Hardware        : Marvell SheevaPlug Reference Board
> Revision        : 0000
> Serial          : 0000000000000000

Here perf is trying to open this file:
/sys/kernel/debug/tracing/events/power/cpu_frequency/id
with the old version it was:
/sys/kernel/debug/tracing/events/vfs/dirty_inode/id
(which doesn't exist here anymore)

Could you please look which files of those two exist on your arm device?

Greetings,
    Tom
attachment.html (text/html, 2.2 KB)
<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>nothing exists below /sys/kernel/debug<br>does the kernel need to be built with debug flags? or a switch flicked on somewhere?<br></span></div><div><br></div>  <div style="font-size: 12pt; font-family: &quot;times new roman&quot;, &quot;new york&quot;, &quot;times&quot;, serif"> <div style="font-size: 12pt; font-family: &quot;times new roman&quot;, &quot;new york&quot;, &quot;times&quot;, serif"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Thomas Spura &lt;[email protected]&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Rui DaCosta &lt;[email protected]&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> [email protected] <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, 22 May 2012, 22:50<br> <b><span
 style="font-weight: bold;">Subject:</span></b> Re: [Powertop] segfault on Sheevaplug (ARM Kirkwood)<br> </font> </div> <br>On Sun, May 20, 2012 at 11:19 AM, Rui DaCosta &lt;<a ymailto="mailto:[email protected]" href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>&gt;<br>&gt; Sure and thanks,<br>&gt; (v1.13 worked fine btw)<br>&gt; Processor &nbsp; &nbsp; &nbsp; : Feroceon 88FR131 rev 1 (v5l)<br>&gt; BogoMIPS &nbsp; &nbsp; &nbsp; &nbsp;: 1191.11<br>&gt; Features &nbsp; &nbsp; &nbsp; &nbsp;: swp half thumb fastmult edsp<br>&gt; CPU implementer : 0x56<br>&gt; CPU architecture: 5TE<br>&gt; CPU variant &nbsp; &nbsp; : 0x2<br>&gt; CPU part &nbsp; &nbsp; &nbsp; &nbsp;: 0x131<br>&gt; CPU revision &nbsp; &nbsp;: 1<br>&gt;<br>&gt; Hardware &nbsp; &nbsp; &nbsp; &nbsp;: Marvell SheevaPlug Reference Board<br>&gt; Revision &nbsp; &nbsp; &nbsp; &nbsp;: 0000<br>&gt; Serial &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;: 0000000000000000<br><br>Here perf is trying to open
 this file:<br>/sys/kernel/debug/tracing/events/power/cpu_frequency/id<br>with the old version it was:<br>/sys/kernel/debug/tracing/events/vfs/dirty_inode/id<br>(which doesn't exist here anymore)<br><br>Could you please look which files of those two exist on your arm device?<br><br>Greetings,<br>&nbsp; &nbsp; Tom<br><br><br> </div> </div>  </div></body></html>