summaryrefslogtreecommitdiffstats
path: root/tools/perf/tests/backward-ring-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/tests/backward-ring-buffer.c')
-rw-r--r--tools/perf/tests/backward-ring-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/tests/backward-ring-buffer.c b/tools/perf/tests/backward-ring-buffer.c
index 6d598cc071ae..1a9c3becf5ff 100644
--- a/tools/perf/tests/backward-ring-buffer.c
+++ b/tools/perf/tests/backward-ring-buffer.c
@@ -18,7 +18,7 @@ static void testcase(void)
int i;
for (i = 0; i < NR_ITERS; i++) {
- char proc_name[10];
+ char proc_name[15];
snprintf(proc_name, sizeof(proc_name), "p:%d\n", i);
prctl(PR_SET_NAME, proc_name);