[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v7 6/8] trace: [default] Port to generic event infor
From: |
Lluís Vilanova |
Subject: |
[Qemu-devel] [PATCH v7 6/8] trace: [default] Port to generic event information and new control interface |
Date: |
Thu, 20 Dec 2012 23:30:22 +0100 |
User-agent: |
StGit/0.16 |
Signed-off-by: Lluís Vilanova <address@hidden>
---
trace/default.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/trace/default.c b/trace/default.c
index c9b27a2..2b61224 100644
--- a/trace/default.c
+++ b/trace/default.c
@@ -1,7 +1,7 @@
/*
* Default implementation for backend initialization from commandline.
*
- * Copyright (C) 2011 Lluís Vilanova <address@hidden>
+ * Copyright (C) 2011-2012 Lluís Vilanova <address@hidden>
*
* This work is licensed under the terms of the GNU GPL, version 2. See
* the COPYING file in the top-level directory.
@@ -18,11 +18,11 @@ void trace_print_events(FILE *stream, fprintf_function
stream_printf)
"operation not supported with the current backend\n");
}
-bool trace_event_set_state(const char *name, bool state)
+void trace_event_set_state_dynamic(TraceEvent *ev, bool state)
{
+ assert(ev != NULL);
fprintf(stderr, "warning: "
"cannot set the state of a trace event with the current
backend\n");
- return false;
}
bool trace_backend_init(const char *events, const char *file)
- [Qemu-devel] [PATCH v7 0/8] trace: Generic event state description, Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 1/8] build: Use separate makefile for "trace/", Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 2/8] trace: [tracetool] Explicitly identify public backends, Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 6/8] trace: [default] Port to generic event information and new control interface,
Lluís Vilanova <=
- [Qemu-devel] [PATCH v7 8/8] trace: [stderr] Port to generic event information and new control interface, Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 7/8] trace: [simple] Port to generic event information and new control interface, Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 5/8] trace: [monitor] Use new event control interface, Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 3/8] trace: Provide a generic tracing event descriptor, Lluís Vilanova, 2012/12/20
- [Qemu-devel] [PATCH v7 4/8] trace: Provide a detailed event control interface, Lluís Vilanova, 2012/12/20