Patchwork [v11,5/7] trace: [default] Port to generic event information and new control interface

login
register
mail settings
Submitter Lluís Vilanova
Date March 1, 2013, 3:30 p.m.
Message ID <20130301153003.22476.38639.stgit@fimbulvetr.bsc.es>
Download mbox | patch
Permalink /patch/224396/
State New
Headers show

Comments

Lluís Vilanova - March 1, 2013, 3:30 p.m.
Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
---
 trace/default.c |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Patch

diff --git a/trace/default.c b/trace/default.c
index c9b27a2..6e07a47 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)