diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-28 12:57:32 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-03-28 12:57:32 -0500 |
commit | 837df37e881e14ffdb05c2b912b2ad30b851c9d3 (patch) | |
tree | 236f8c569e5b04139b2a009061c0e4208b248954 /trace/default.c | |
parent | e280ff5e9159ed227a117339c1157143627cab96 (diff) | |
parent | 7e8660032cd21c1bdc4160b8fab7deec62e1aa12 (diff) |
Merge remote-tracking branch 'stefanha/tracing' into staging
# By Lluís Vilanova (7) and others
# Via Stefan Hajnoczi
* stefanha/tracing:
vl: add runstate_set tracepoint
.gitignore: rename trace/generated-tracers.dtrace
.gitignore: add trace/generated-events.[ch]
trace: rebuild generated-events.o when configuration changes
trace: [stderr] Port to generic event information and new control interface
trace: [simple] Port to generic event information and new control interface
trace: [default] Port to generic event information and new control interface
trace: [monitor] Use new event control interface
trace: Provide a detailed event control interface
trace: Provide a generic tracing event descriptor
trace: [tracetool] Explicitly identify public backends
Diffstat (limited to 'trace/default.c')
-rw-r--r-- | trace/default.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/trace/default.c b/trace/default.c index c9b27a289b..6e07a479d6 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 <vilanova@ac.upc.edu> + * Copyright (C) 2011-2012 Lluís Vilanova <vilanova@ac.upc.edu> * * 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,10 @@ 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_backend(TraceEvent *ev, bool state) { 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) |