perfmon: fix perf_user_access_enabled type 69/39469/2
authorTianyu Li <[email protected]>
Tue, 29 Aug 2023 07:59:12 +0000 (07:59 +0000)
committerDamjan Marion <[email protected]>
Wed, 13 Sep 2023 12:15:53 +0000 (12:15 +0000)
commit4585bb121b4acfab2f34237f1d0e9ea6077110c0
treed8b83f38c6ae4c04e8c88af5cf37e21f210bb0dc
parent986ca97311daef6faf3d53f3fd3ab90390f17a36
perfmon: fix perf_user_access_enabled type

perf_user_access_enabled is defined as u8,
clib_sysfs_read format type is %u, this is for unsigned int,
change type from u8 to u32.

Type: fix
Fixes: 268d7be66b8b ("perfmon: enable perfmon plugin for Arm")

Signed-off-by: Tianyu Li <[email protected]>
Change-Id: I48ec00605e496d185370e77d894d7852d6d22124
src/plugins/perfmon/arm/events.c