aboutsummaryrefslogtreecommitdiff
path: root/trace
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2016-06-29 15:29:06 +0200
committerMarkus Armbruster <armbru@redhat.com>2016-07-12 16:20:46 +0200
commit175de52487ce0b0c78daa4cdf41a5a465a168a25 (patch)
tree2beed30befbec6d0d54a242f12817fdf5451bb20 /trace
parent2a6a4076e117113ebec97b1821071afccfdfbc96 (diff)
Clean up decorations and whitespace around header guards
Cleaned up with scripts/clean-header-guards.pl. Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'trace')
-rw-r--r--trace/control-internal.h4
-rw-r--r--trace/control.h2
-rw-r--r--trace/event-internal.h2
-rw-r--r--trace/ftrace.h4
-rw-r--r--trace/mem-internal.h2
-rw-r--r--trace/mem.h2
6 files changed, 6 insertions, 10 deletions
diff --git a/trace/control-internal.h b/trace/control-internal.h
index dcf67f505a..deacc8f894 100644
--- a/trace/control-internal.h
+++ b/trace/control-internal.h
@@ -10,8 +10,6 @@
#ifndef TRACE__CONTROL_INTERNAL_H
#define TRACE__CONTROL_INTERNAL_H
-
-
extern TraceEvent trace_events[];
extern bool trace_events_dstate[];
extern int trace_events_enabled_count;
@@ -72,4 +70,4 @@ static inline void trace_event_set_state_dynamic(TraceEvent *ev, bool state)
trace_events_dstate[id] = state;
}
-#endif /* TRACE__CONTROL_INTERNAL_H */
+#endif /* TRACE__CONTROL_INTERNAL_H */
diff --git a/trace/control.h b/trace/control.h
index a2dd3eaedf..452a800eb2 100644
--- a/trace/control.h
+++ b/trace/control.h
@@ -203,4 +203,4 @@ char *trace_opt_parse(const char *optarg);
#include "trace/control-internal.h"
-#endif /* TRACE__CONTROL_H */
+#endif /* TRACE__CONTROL_H */
diff --git a/trace/event-internal.h b/trace/event-internal.h
index 86f6a511be..e4ea2e78a9 100644
--- a/trace/event-internal.h
+++ b/trace/event-internal.h
@@ -28,4 +28,4 @@ typedef struct TraceEvent {
} TraceEvent;
-#endif /* TRACE__EVENT_INTERNAL_H */
+#endif /* TRACE__EVENT_INTERNAL_H */
diff --git a/trace/ftrace.h b/trace/ftrace.h
index 92372e3caa..cb5e35d217 100644
--- a/trace/ftrace.h
+++ b/trace/ftrace.h
@@ -1,8 +1,6 @@
#ifndef TRACE_FTRACE_H
#define TRACE_FTRACE_H
-
-
#define MAX_TRACE_STRLEN 512
#define _STR(x) #x
#define STR(x) _STR(x)
@@ -11,4 +9,4 @@ extern int trace_marker_fd;
bool ftrace_init(void);
-#endif /* ! TRACE_FTRACE_H */
+#endif /* TRACE_FTRACE_H */
diff --git a/trace/mem-internal.h b/trace/mem-internal.h
index a75e0ff732..ddda934253 100644
--- a/trace/mem-internal.h
+++ b/trace/mem-internal.h
@@ -43,4 +43,4 @@ static inline uint8_t trace_mem_build_info(
return res;
}
-#endif /* TRACE__MEM_INTERNAL_H */
+#endif /* TRACE__MEM_INTERNAL_H */
diff --git a/trace/mem.h b/trace/mem.h
index c76a572689..9c88bcb4e6 100644
--- a/trace/mem.h
+++ b/trace/mem.h
@@ -31,4 +31,4 @@ static uint8_t trace_mem_build_info(TCGMemOp size, bool sign_extend,
#include "trace/mem-internal.h"
-#endif /* TRACE__MEM_H */
+#endif /* TRACE__MEM_H */