Mao Han d41435d9b2 csky: Fix perf record in kernel/user space
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>
2019-07-19 14:21:36 +08:00
..
2019-06-29 17:05:58 +08:00
2019-06-28 08:37:04 +08:00
2019-06-28 08:37:04 +08:00
2019-06-03 10:23:41 -07:00
2019-06-30 11:20:52 +08:00
2019-06-26 15:10:30 -07:00