diff options
author | Jiri Olsa <jolsa@redhat.com> | 2012-11-09 19:46:51 -0500 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2012-11-14 14:50:24 -0500 |
commit | c81251e808fe2386e71990ecd49c408bb7cb4666 (patch) | |
tree | 0a7ccad48560b23d4205d06aa285cfdc8e5cefbc /tools/perf/tests/attr.c | |
parent | cff7f956ec4a1ede9b752cfae3c12f588292ad80 (diff) |
perf tests: Final cleanup for builtin-test move
Final function renames to match test__* style and include cleanup.
Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1352508412-16914-12-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/tests/attr.c')
-rw-r--r-- | tools/perf/tests/attr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/tests/attr.c b/tools/perf/tests/attr.c index 6e2feee8db2a..25638a986257 100644 --- a/tools/perf/tests/attr.c +++ b/tools/perf/tests/attr.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include "../perf.h" | 27 | #include "../perf.h" |
28 | #include "util.h" | 28 | #include "util.h" |
29 | #include "exec_cmd.h" | 29 | #include "exec_cmd.h" |
30 | #include "tests.h" | ||
30 | 31 | ||
31 | #define ENV "PERF_TEST_ATTR" | 32 | #define ENV "PERF_TEST_ATTR" |
32 | 33 | ||
@@ -151,7 +152,7 @@ static int run_dir(const char *d, const char *perf) | |||
151 | return system(cmd); | 152 | return system(cmd); |
152 | } | 153 | } |
153 | 154 | ||
154 | int test_attr__run(void) | 155 | int test__attr(void) |
155 | { | 156 | { |
156 | struct stat st; | 157 | struct stat st; |
157 | char path_perf[PATH_MAX]; | 158 | char path_perf[PATH_MAX]; |