Patchwork [4/4] trace: Remove "info trace" from documents

login
register
mail settings
Submitter Stefan Hajnoczi
Date Nov. 16, 2012, 1:19 p.m.
Message ID <1353071965-19804-5-git-send-email-stefanha@redhat.com>
Download mbox | patch
Permalink /patch/199609/
State New
Headers show

Comments

Stefan Hajnoczi - Nov. 16, 2012, 1:19 p.m.
From: Liming Wang <walimisdev@gmail.com>

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>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
---
 docs/tracing.txt | 9 ---------
 hmp-commands.hx  | 7 -------
 2 files changed, 16 deletions(-)

Patch

diff --git a/docs/tracing.txt b/docs/tracing.txt
index 7901409..453cc4a 100644
--- a/docs/tracing.txt
+++ b/docs/tracing.txt
@@ -189,15 +189,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