summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/perfmon/arm/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/perfmon/arm/events.c b/src/plugins/perfmon/arm/events.c
index bf73ad6e896..f2406b3ea05 100644
--- a/src/plugins/perfmon/arm/events.c
+++ b/src/plugins/perfmon/arm/events.c
@@ -75,7 +75,7 @@ arm_init (vlib_main_t *vm, perfmon_source_t *src)
- if the file exists and is 0, user access needs to be granted
with 'sudo sysctl kernel/perf_user_access=1'
*/
- u8 perf_user_access_enabled;
+ u32 perf_user_access_enabled;
char *path = "/proc/sys/kernel/perf_user_access";
err = clib_sysfs_read (path, "%u", &perf_user_access_enabled);
if (err)