Patchwork trace: Remove "info trace" from documents

login
register
mail settings
Submitter walimis
Date Nov. 16, 2012, 7:10 a.m.
Message ID <1353049849-21075-1-git-send-email-walimisdev@gmail.com>
Download mbox | patch
Permalink /patch/199502/
State New
Headers show

Comments

walimis - Nov. 16, 2012, 7:10 a.m.
commit 88affa1c monitor: remove unused do_info_trace

has removed "info trace" function from monitor, so remove it from documents.

Signed-off-by: Liming Wang <walimisdev@gmail.com>
---
 docs/tracing.txt |    9 ---------
 hmp-commands.hx  |    7 -------
 2 files changed, 16 deletions(-)
Stefan Hajnoczi - Nov. 16, 2012, 12:36 p.m.
On Fri, Nov 16, 2012 at 03:10:49PM +0800, Liming Wang wrote:
> commit 88affa1c monitor: remove unused do_info_trace
> 
> has removed "info trace" function from monitor, so remove it from documents.
> 
> Signed-off-by: Liming Wang <walimisdev@gmail.com>
> ---
>  docs/tracing.txt |    9 ---------
>  hmp-commands.hx  |    7 -------
>  2 files changed, 16 deletions(-)

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

Stefan

Patch

diff --git a/docs/tracing.txt b/docs/tracing.txt
index c541133..98e9480 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -185,15 +185,6 @@  records the char* pointer value instead of the string that is pointed to.
 
 ==== Monitor commands ====
 
-* info trace
-  Display the contents of trace buffer.  This command dumps the trace buffer
-  with simple formatting.  For full pretty-printing, use the simpletrace.py
-  script on a binary trace file.
-
-  The trace buffer is written into until full.  The full trace buffer is
-  flushed and emptied.  This means the 'info trace' will display few or no
-  entries if the buffer has just been flushed.
-
 * trace-file on|off|flush|set <path>
   Enable/disable/flush the trace file or set the trace file name.
 
diff --git a/hmp-commands.hx b/hmp-commands.hx
index b74ef75..010b8c9 100644
--- a/hmp-commands.hx
+++ b/hmp-commands.hx
@@ -1573,13 +1573,6 @@  show roms
 @end table
 ETEXI
 
-#ifdef CONFIG_TRACE_SIMPLE
-STEXI
-@item info trace
-show contents of trace buffer
-ETEXI
-#endif
-
 STEXI
 @item info trace-events
 show available trace events and their state