qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] trace: docs: add trace file description
@ 2014-07-11  3:24 Chen Fan
  2014-08-28 14:08 ` Stefan Hajnoczi
  0 siblings, 1 reply; 2+ messages in thread
From: Chen Fan @ 2014-07-11  3:24 UTC (permalink / raw)
  To: qemu-devel

When user used the trace print command from docs/tracing.txt:
  ./scripts/simpletrace.py trace-events trace-*

the user maybe be misled by the "trace-*", because if user
directly copy the comand line to run, there alway print the
bored message:
"usage: ./scripts/simpletrace.py <trace-events> <trace-file>"

then we should describe that the "trace-*" represented.

Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
---
 docs/tracing.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docs/tracing.txt b/docs/tracing.txt
index c6ab1c1..c2299ce 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -23,7 +23,7 @@ for debugging, profiling, and observing execution.
 
 4. Pretty-print the binary trace file:
 
-    ./scripts/simpletrace.py trace-events trace-*
+    ./scripts/simpletrace.py trace-events trace-* # Override * with QEMU <pid>
 
 == Trace events ==
 
-- 
1.9.3

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

* Re: [Qemu-devel] [PATCH] trace: docs: add trace file description
  2014-07-11  3:24 [Qemu-devel] [PATCH] trace: docs: add trace file description Chen Fan
@ 2014-08-28 14:08 ` Stefan Hajnoczi
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Hajnoczi @ 2014-08-28 14:08 UTC (permalink / raw)
  To: Chen Fan; +Cc: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 696 bytes --]

On Fri, Jul 11, 2014 at 11:24:37AM +0800, Chen Fan wrote:
> When user used the trace print command from docs/tracing.txt:
>   ./scripts/simpletrace.py trace-events trace-*
> 
> the user maybe be misled by the "trace-*", because if user
> directly copy the comand line to run, there alway print the
> bored message:
> "usage: ./scripts/simpletrace.py <trace-events> <trace-file>"
> 
> then we should describe that the "trace-*" represented.
> 
> Signed-off-by: Chen Fan <chen.fan.fnst@cn.fujitsu.com>
> ---
>  docs/tracing.txt | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Thanks, applied to my tracing tree:
https://github.com/stefanha/qemu/commits/tracing

Stefan

[-- Attachment #2: Type: application/pgp-signature, Size: 473 bytes --]

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

end of thread, other threads:[~2014-08-28 14:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-11  3:24 [Qemu-devel] [PATCH] trace: docs: add trace file description Chen Fan
2014-08-28 14:08 ` 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).