aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/parse-events.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@redhat.com>2012-11-09 19:46:51 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2012-11-14 14:50:24 -0500
commitc81251e808fe2386e71990ecd49c408bb7cb4666 (patch)
tree0a7ccad48560b23d4205d06aa285cfdc8e5cefbc /tools/perf/tests/parse-events.c
parentcff7f956ec4a1ede9b752cfae3c12f588292ad80 (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/parse-events.c')
-rw-r--r--tools/perf/tests/parse-events.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/tests/parse-events.c b/tools/perf/tests/parse-events.c
index b49c2eebff33..f2a82d0158c0 100644
--- a/tools/perf/tests/parse-events.c
+++ b/tools/perf/tests/parse-events.c
@@ -4,6 +4,7 @@
4#include "evlist.h" 4#include "evlist.h"
5#include "sysfs.h" 5#include "sysfs.h"
6#include "../../../include/linux/hw_breakpoint.h" 6#include "../../../include/linux/hw_breakpoint.h"
7#include "tests.h"
7 8
8#define TEST_ASSERT_VAL(text, cond) \ 9#define TEST_ASSERT_VAL(text, cond) \
9do { \ 10do { \
@@ -1086,7 +1087,7 @@ static int test_pmu_events(void)
1086 return ret; 1087 return ret;
1087} 1088}
1088 1089
1089int parse_events__test(void) 1090int test__parse_events(void)
1090{ 1091{
1091 int ret1, ret2 = 0; 1092 int ret1, ret2 = 0;
1092 1093