* from perf_trace_context import fails?
@ 2011-03-23 1:04 Arun Sharma
2011-03-23 19:29 ` Arun Sharma
0 siblings, 1 reply; 3+ messages in thread
From: Arun Sharma @ 2011-03-23 1:04 UTC (permalink / raw)
To: linux-perf-users
I built/installed perf from the perf/urgent branch on
x86/linux-2.6-tip tree and I get:
# perf script -g python
generated Python script: perf-script.py
# echo $PERF_EXEC_PATH
/usr/libexec/perf-core
# python perf-script.py
Traceback (most recent call last):
File "perf-script.py", line 16, in <module>
from perf_trace_context import *
ImportError: No module named perf_trace_context
It didn't look like Context.o is getting installed in
/usr/libexec/perf-core. Am I doing something wrong or is this work in
progress?
-Arun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: from perf_trace_context import fails?
2011-03-23 1:04 from perf_trace_context import fails? Arun Sharma
@ 2011-03-23 19:29 ` Arun Sharma
2011-03-25 13:23 ` Perf on Freescale P4080 Kumar Ranjit-B04060
0 siblings, 1 reply; 3+ messages in thread
From: Arun Sharma @ 2011-03-23 19:29 UTC (permalink / raw)
To: linux-perf-users
On Tue, Mar 22, 2011 at 6:04 PM, Arun Sharma <arun@sharma-home.net> wrote:
> # python perf-script.py
> Traceback (most recent call last):
> File "perf-script.py", line 16, in <module>
> from perf_trace_context import *
> ImportError: No module named perf_trace_context
My bad. I forgot to run this as:
perf script -s perf-script.py
-Arun
^ permalink raw reply [flat|nested] 3+ messages in thread
* Perf on Freescale P4080
2011-03-23 19:29 ` Arun Sharma
@ 2011-03-25 13:23 ` Kumar Ranjit-B04060
0 siblings, 0 replies; 3+ messages in thread
From: Kumar Ranjit-B04060 @ 2011-03-25 13:23 UTC (permalink / raw)
To: linux-perf-users@vger.kernel.org
I am able to run most of the things like stat,record,report...But I am not able to get trace. ./perf trace is not working for me. Its printing nothing though I have perf.data in the same directory.
Regards
Ranjit Kumar
System Performance Analysis Group
Freescale Semiconductors
India
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-03-25 13:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-23 1:04 from perf_trace_context import fails? Arun Sharma
2011-03-23 19:29 ` Arun Sharma
2011-03-25 13:23 ` Perf on Freescale P4080 Kumar Ranjit-B04060
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).