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-04-22 13:44:57 +08:00
2018-10-26 00:54:22 +08:00
2018-10-26 00:54:24 +08:00
2018-12-31 23:12:22 +08:00
2019-06-26 13:45:48 +08:00
2018-12-31 23:12:22 +08:00
2018-10-25 23:36:19 +08:00
2018-10-25 23:36:19 +08:00
2018-10-26 00:54:13 +08:00
2018-10-26 00:54:22 +08:00
2018-10-25 23:36:19 +08:00