aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/thread.h
diff options
context:
space:
mode:
authorJohn Kacur <jkacur@redhat.com>2009-09-24 12:02:18 -0400
committerIngo Molnar <mingo@elte.hu>2009-09-24 15:27:51 -0400
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 @@
1#ifndef __PERF_THREAD_H
2#define __PERF_THREAD_H
3
1#include <linux/rbtree.h> 4#include <linux/rbtree.h>
2#include <linux/list.h> 5#include <linux/list.h>
3#include <unistd.h> 6#include <unistd.h>
@@ -20,3 +23,5 @@ void thread__insert_map(struct thread *self, struct map *map);
20int thread__fork(struct thread *self, struct thread *parent); 23int thread__fork(struct thread *self, struct thread *parent);
21struct map *thread__find_map(struct thread *self, u64 ip); 24struct map *thread__find_map(struct thread *self, u64 ip);
22size_t threads__fprintf(FILE *fp, struct rb_root *threads); 25size_t threads__fprintf(FILE *fp, struct rb_root *threads);
26
27#endif /* __PERF_THREAD_H */