Revision fd068a95 trace/default.c
b/trace/default.c | ||
---|---|---|
1 | 1 |
/* |
2 | 2 |
* Default implementation for backend initialization from commandline. |
3 | 3 |
* |
4 |
* Copyright (C) 2011 Lluís Vilanova <vilanova@ac.upc.edu> |
|
4 |
* Copyright (C) 2011-2012 Lluís Vilanova <vilanova@ac.upc.edu>
|
|
5 | 5 |
* |
6 | 6 |
* This work is licensed under the terms of the GNU GPL, version 2. See |
7 | 7 |
* the COPYING file in the top-level directory. |
... | ... | |
18 | 18 |
"operation not supported with the current backend\n"); |
19 | 19 |
} |
20 | 20 |
|
21 |
bool trace_event_set_state(const char *name, bool state)
|
|
21 |
void trace_event_set_state_dynamic_backend(TraceEvent *ev, bool state)
|
|
22 | 22 |
{ |
23 | 23 |
fprintf(stderr, "warning: " |
24 | 24 |
"cannot set the state of a trace event with the current backend\n"); |
25 |
return false; |
|
26 | 25 |
} |
27 | 26 |
|
28 | 27 |
bool trace_backend_init(const char *events, const char *file) |
Also available in: Unified diff