qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] QEMU simpletrace.py
@ 2017-09-01 15:52 Derrick McKee
  2017-09-04  9:22 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Derrick McKee @ 2017-09-01 15:52 UTC (permalink / raw)
  To: qemu-devel

Hi,

I am having trouble using the simpleparser.py script in QEMU.  Hopefully, I
am doing something incorrect and you can quickly set me back on course.

I have generated a trace file as per the instructions in
docs/devel/tracing.txt.  However, whenever I try to run the simpleparser.py
script I get a file not found error:

<QEMU source>/build/scripts/simpletrace.py trace-events-all trace-30218
Traceback (most recent call last):
  File "/home/derrick/code/qemu/build/scripts/simpletrace.py", line 262, in
<module>
    run(Formatter())
  File "/home/derrick/code/qemu/build/scripts/simpletrace.py", line 236, in
run
    events = read_events(open(sys.argv[1], 'r'))
IOError: [Errno 2] No such file or directory: 'trace-events-all'

It seems like the python script is considering 'trace-events-all' as a
file, but the directions don't make it seem like it should be a file.
Thoughts?  Thanks
-- 
Derrick McKee
Ph.D. Student at Purdue University

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-09-04  9:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-09-01 15:52 [Qemu-devel] QEMU simpletrace.py Derrick McKee
2017-09-04  9:22 ` Stefan Hajnoczi

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).