aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf')
-rw-r--r--tools/perf/tests/bp_account.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/bp_account.c b/tools/perf/tests/bp_account.c
index 9e88d7608951..a20cbc445426 100644
--- a/tools/perf/tests/bp_account.c
+++ b/tools/perf/tests/bp_account.c
@@ -103,7 +103,7 @@ static int bp_accounting(int wp_cnt, int share)
103static int detect_cnt(bool is_x) 103static int detect_cnt(bool is_x)
104{ 104{
105 struct perf_event_attr attr; 105 struct perf_event_attr attr;
106 void *addr = is_x ? test_function : (void *) &the_var; 106 void *addr = is_x ? (void *)test_function : (void *)&the_var;
107 int fd[100], cnt = 0, i; 107 int fd[100], cnt = 0, i;
108 108
109 while (1) { 109 while (1) {