Skip to content

Commit c17552b

Browse files
xxkentabrodkin
authored andcommitted
ARCv3: Fix a problem with perf event names
This patch fixes 8 char limitation to perf event names. New limit is 16 bytes for a name, сorresponds to the limitation in HW.
1 parent e927c13 commit c17552b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arc/kernel/perf_event.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include <asm/stacktrace.h>
1616

1717
/* +1 one for null terminator */
18-
#ifdef CONFIG_ARCV3
18+
#ifdef CONFIG_ISA_ARCV3
1919
#define ARCPMU_EVENT_NAME_LEN 17
2020
#else
2121
#define ARCPMU_EVENT_NAME_LEN 9

0 commit comments

Comments
 (0)