summaryrefslogtreecommitdiffstats
path: root/simpletrace.h
diff options
context:
space:
mode:
authorLluís <xscript@gmx.net>2011-08-31 20:30:43 +0200
committerStefan Hajnoczi <stefanha@linux.vnet.ibm.com>2011-09-01 10:34:53 +0100
commit6d8a764e0fcdde8e3a62fb3fc5911b338c8893ca (patch)
tree9844c2b0082c301e1c1e755600509f9bdc38e902 /simpletrace.h
parent51010317dd74a7d6ad30dcc73478924aa4f590c5 (diff)
downloadhqemu-6d8a764e0fcdde8e3a62fb3fc5911b338c8893ca.zip
hqemu-6d8a764e0fcdde8e3a62fb3fc5911b338c8893ca.tar.gz
trace: [configure] rename CONFIG_*_TRACE into CONFIG_TRACE_*
Provides a more hierarchical view of the variable domain. Also adds the CONFIG_TRACE_* variables for all backends. [Stefan added missing 'test' in stap if statement] Signed-off-by: Lluís Vilanova <vilanova@ac.upc.edu> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>
Diffstat (limited to 'simpletrace.h')
-rw-r--r--simpletrace.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/simpletrace.h b/simpletrace.h
index 8d893bd..507dd87 100644
--- a/simpletrace.h
+++ b/simpletrace.h
@@ -15,7 +15,7 @@
#include <stdbool.h>
#include <stdio.h>
-#ifdef CONFIG_SIMPLE_TRACE
+#ifdef CONFIG_TRACE_SIMPLE
typedef uint64_t TraceEventID;
typedef struct {
@@ -43,6 +43,6 @@ static inline bool st_init(const char *file)
{
return true;
}
-#endif /* !CONFIG_SIMPLE_TRACE */
+#endif /* !CONFIG_TRACE_SIMPLE */
#endif /* SIMPLETRACE_H */
OpenPOWER on IntegriCloud