aboutsummaryrefslogtreecommitdiff
path: root/trace/stderr.h
diff options
context:
space:
mode:
authorLluís <xscript@gmx.net>2011-08-31 20:31:51 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-09-01 10:34:54 +0100
commit9a82b6a590bd7c845ab9754b34b33ffee982ccb2 (patch)
treec23b7078b7db55c798577eb28f281873a5d2062c /trace/stderr.h
parent03727e6a06087dc8f46d5674b4b29262bf7377a4 (diff)
trace: [stderr] add support for dynamically enabling/disabling events
Uses the generic interface provided in "trace/control.h" in order to provide a programmatic interface as well as command line and monitor controls. Signed-off-by: Fabien Chouteau <chouteau@adacore.com> Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu>
Diffstat (limited to 'trace/stderr.h')
-rw-r--r--trace/stderr.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/trace/stderr.h b/trace/stderr.h
new file mode 100644
index 0000000000..d575b613e3
--- /dev/null
+++ b/trace/stderr.h
@@ -0,0 +1,11 @@
+#ifndef TRACE_STDERR_H
+#define TRACE_STDERR_H
+
+typedef uint64_t TraceEventID;
+
+typedef struct {
+ const char *tp_name;
+ bool state;
+} TraceEvent;
+
+#endif /* ! TRACE_STDERR_H */