aboutsummaryrefslogtreecommitdiff
path: root/trace/control.c
diff options
context:
space:
mode:
authorLluís Vilanova <vilanova@ac.upc.edu>2014-08-25 13:20:03 +0200
committerStefan Hajnoczi <stefanha@redhat.com>2014-09-26 09:34:38 +0100
commit14101d028d9ebe9facfbab0cd6c7cf92b77e755d (patch)
tree4309d02a4ba4c479790375d0332a0cad5eb5dba3 /trace/control.c
parent1dde0f48d53ad39401ec5064a61162d6784aad44 (diff)
downloadqemu-arm-14101d028d9ebe9facfbab0cd6c7cf92b77e755d.tar.gz
trace: [hmp] Reimplement "trace-event" and "info trace-events" using QMP
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Message-id: 20140825112002.31112.60143.stgit@fimbulvetr.bsc.es Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'trace/control.c')
-rw-r--r--trace/control.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/trace/control.c b/trace/control.c
index 9631a40eff..0d308011a2 100644
--- a/trace/control.c
+++ b/trace/control.c
@@ -85,19 +85,6 @@ TraceEvent *trace_event_pattern(const char *pat, TraceEvent *ev)
return NULL;
}
-void trace_print_events(FILE *stream, fprintf_function stream_printf)
-{
- TraceEventID i;
-
- for (i = 0; i < trace_event_count(); i++) {
- TraceEvent *ev = trace_event_id(i);
- stream_printf(stream, "%s [Event ID %u] : state %u\n",
- trace_event_get_name(ev), i,
- trace_event_get_state_static(ev) &&
- trace_event_get_state_dynamic(ev));
- }
-}
-
static void trace_init_events(const char *fname)
{
Location loc;