aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/debug.h
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2009-09-24 18:02:18 +0200
committerIngo Molnar <mingo@elte.hu>2009-09-24 21:27:51 +0200
commit8b40f521cf1c9750eab0c04da9075e7484675e9c (patch)
treeccf78010cc05ca0e38ebf6f443fd507c287c2fdf /tools/perf/util/debug.h
parentperf annotate: Add the cmp_null function and make use of it (diff)
downloadlinux-dev-8b40f521cf1c9750eab0c04da9075e7484675e9c.tar.xz
linux-dev-8b40f521cf1c9750eab0c04da9075e7484675e9c.zip
perf tools: Protect header files with a consistent style
There was a colorful mix of header guards - standardize them. Signed-off-by: John Kacur <jkacur@redhat.com> LKML-Reference: <alpine.LFD.2.00.0909241756530.11383@localhost.localdomain> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/debug.h')
-rw-r--r--tools/perf/util/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/perf/util/debug.h b/tools/perf/util/debug.h
index 437eea58ce40..02d1fa1c2465 100644
--- a/tools/perf/util/debug.h
+++ b/tools/perf/util/debug.h
@@ -1,4 +1,6 @@
/* For debugging general purposes */
+#ifndef __PERF_DEBUG_H
+#define __PERF_DEBUG_H
extern int verbose;
extern int dump_trace;
@@ -6,3 +8,5 @@ extern int dump_trace;
int eprintf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
int dump_printf(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
void trace_event(event_t *event);
+
+#endif /* __PERF_DEBUG_H */