Revision d41435d9b2b3f8fb58dc1258220401ad16aa8a19 authored by Mao Han on 04 June 2019, 10:54:49 UTC, committed by Guo Ren on 19 July 2019, 06:21:36 UTC
csky_pmu_event_init is called several times during the perf record initialzation. After configure the event counter in either kernel space or user space, csky_pmu_event_init is called twice with no attr specified. Configuration will be overwritten with sampling in both kernel space and user space. --all-kernel/--all-user is useless without this patch applied. Signed-off-by: Mao Han <han_mao@c-sky.com> Signed-off-by: Guo Ren <guoren@kernel.org>
1 parent f622fbf
Computing file changes ...