aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2009-11-10 06:50:53 -0500
committerIngo Molnar <mingo@elte.hu>2009-11-10 08:14:35 -0500
commit606bc1e18d346fc7d7fb333909cc95b06b1ca5b1 (patch)
tree267e55bf10249f858749eff0332f65453892f600 /tools
parent158ba827f6deef4102c5247ed4b6a587f0bd6a07 (diff)
perf bench: Clean up bench/bench.h
Clean up initializers in bench.h: - No need to break the line for function prototypes, they are more readable in a single line. (even if checkpatch complains about it - We try to align definitions / structure fields vertically, to make it all a bit more readable. Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Hitoshi Mitake <mitake@dcl.info.waseda.ac.jp> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <1257853855-28934-2-git-send-email-mitake@dcl.info.waseda.ac.jp>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/bench/bench.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/tools/perf/bench/bench.h b/tools/perf/bench/bench.h
index 42167ea41944..9fbd8d745fa1 100644
--- a/tools/perf/bench/bench.h
+++ b/tools/perf/bench/bench.h
@@ -1,17 +1,15 @@
1#ifndef BENCH_H 1#ifndef BENCH_H
2#define BENCH_H 2#define BENCH_H
3 3
4extern int bench_sched_messaging(int argc, const char **argv, 4extern int bench_sched_messaging(int argc, const char **argv, const char *prefix);
5 const char *prefix); 5extern int bench_sched_pipe(int argc, const char **argv, const char *prefix);
6extern int bench_sched_pipe(int argc, const char **argv,
7 const char *prefix);
8 6
9#define BENCH_FORMAT_DEFAULT_STR "default" 7#define BENCH_FORMAT_DEFAULT_STR "default"
10#define BENCH_FORMAT_DEFAULT 0 8#define BENCH_FORMAT_DEFAULT 0
11#define BENCH_FORMAT_SIMPLE_STR "simple" 9#define BENCH_FORMAT_SIMPLE_STR "simple"
12#define BENCH_FORMAT_SIMPLE 1 10#define BENCH_FORMAT_SIMPLE 1
13 11
14#define BENCH_FORMAT_UNKNOWN -1 12#define BENCH_FORMAT_UNKNOWN -1
15 13
16extern int bench_format; 14extern int bench_format;
17 15