summaryrefslogtreecommitdiff
path: root/tools/perf/util/thread.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/thread.h
parentcbfeb267cb0ff632dbc8ff02685012bee2e87434 (diff)
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/thread.h')
-rw-r--r--tools/perf/util/thread.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/perf/util/thread.h b/tools/perf/util/thread.h
index 32aea3c1c2ad..693ed1ea10b4 100644
--- a/tools/perf/util/thread.h
+++ b/tools/perf/util/thread.h
@@ -1,3 +1,6 @@
+#ifndef __PERF_THREAD_H
+#define __PERF_THREAD_H
+
#include <linux/rbtree.h>
#include <linux/list.h>
#include <unistd.h>
@@ -20,3 +23,5 @@ void thread__insert_map(struct thread *self, struct map *map);
int thread__fork(struct thread *self, struct thread *parent);
struct map *thread__find_map(struct thread *self, u64 ip);
size_t threads__fprintf(FILE *fp, struct rb_root *threads);
+
+#endif /* __PERF_THREAD_H */