csky: Add perf support for C-SKY
This adds basic perf support for all C-SKY CPUs. Hardware events are
only supported by 807/810/860.
Signed-off-by:
Guo Ren <ren_guo@c-sky.com>
Showing
- arch/csky/Kconfig 15 additions, 1 deletionarch/csky/Kconfig
- arch/csky/include/asm/perf_event.h 7 additions, 0 deletionsarch/csky/include/asm/perf_event.h
- arch/csky/kernel/Makefile 1 addition, 0 deletionsarch/csky/kernel/Makefile
- arch/csky/kernel/perf_event.c 1031 additions, 0 deletionsarch/csky/kernel/perf_event.c
Loading
Please register or sign in to comment