• David Daney's avatar
    MIPS: perf: Reorganize contents of perf support files. · e5dcb58a
    David Daney authored
    The contents of arch/mips/kernel/perf_event.c and
    arch/mips/kernel/perf_event_mipsxx.c were divided in a seemingly ad
    hoc manner, with the first including the second.
    
    I moved all the hardware counter support code to perf_event_mipsxx.c
    and removed the gating #ifdefs to the Kconfig and Makefile.
    
    Now perf_event.c contains only the callchain support, everything else
    is in perf_event_mipsxx.c
    
    There are no code changes, only moving of functions from one file to
    the other, or removing empty unneeded functions.
    Signed-off-by: default avatarDavid Daney <david.daney@cavium.com>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Ingo Molnar <mingo@elte.hu>
    Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
    Cc: Dezhong Diao <dediao@cisco.com>
    Cc: Gabor Juhos <juhosg@openwrt.org>
    Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
    To: linux-mips@linux-mips.org
    Patchwork: https://patchwork.linux-mips.org/patch/2791/Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
    e5dcb58a
perf_event.c 1.8 KB