linux/arch/csky/kernel
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
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
asm-offsets.c csky: remove unused members in processor.h 2018-12-31 23:16:00 +08:00
atomic.S csky: Reconstruct signal processing 2019-04-22 13:44:57 +08:00
cpu-probe.c csky: Exception handling and mm-fault 2018-10-25 23:36:19 +08:00
dumpstack.c csky: Fixup dead loop in show_stack 2019-02-13 09:48:14 +08:00
entry.S csky: Use va_pa_offset instead of phys_offset 2019-04-22 13:44:57 +08:00
ftrace.c csky/ftrace: Add dynamic function tracer (include graph tracer) 2019-04-22 13:44:57 +08:00
head.S csky: Support vmlinux bootup with MMU off 2019-04-22 13:44:57 +08:00
irq.c csky: IRQ handling 2018-10-26 00:54:22 +08:00
module.c csky: fixup compile error with CPU 810. 2019-01-10 04:37:37 -08:00
perf_callchain.c csky: Add perf callchain support 2019-04-22 13:44:57 +08:00
perf_event.c csky: Fix perf record in kernel/user space 2019-07-19 14:21:36 +08:00
perf_regs.c csky: Add support for perf registers sampling 2019-04-22 13:44:57 +08:00
power.c csky: Library functions 2018-10-26 00:54:24 +08:00
process.c csky: stacktrace supported. 2018-12-31 23:12:22 +08:00
ptrace.c csky/syscall_trace: Fixup return processing flow 2019-04-22 15:55:28 +08:00
setup.c csky: Use va_pa_offset instead of phys_offset 2019-04-22 13:44:57 +08:00
signal.c csky: Fixup libgcc unwind error 2019-06-26 13:45:48 +08:00
smp.c csky: coding convention: Use task_stack_page 2019-02-13 09:48:14 +08:00
stacktrace.c csky: stacktrace supported. 2018-12-31 23:12:22 +08:00
syscall.c csky: System Call 2018-10-25 23:36:19 +08:00
syscall_table.c csky: System Call 2018-10-25 23:36:19 +08:00
time.c csky: Process management and Signal 2018-10-26 00:54:13 +08:00
traps.c csky: Fixup no panic in kernel for some traps 2019-07-19 14:21:36 +08:00
vdso.c csky: VDSO and rt_sigreturn 2018-10-26 00:54:22 +08:00
vmlinux.lds.S csky: Kernel booting 2018-10-25 23:36:19 +08:00