From: Zhigang Lu <z...@tilera.com> This patchset adds perf support for tile architecture. The code is based on x86 perf event code, and it has been tested on tile for 2 years.
Zhigang Lu (4): tile: Add support for handling PMC hardware tile: Enable NMIs on return from handle_nmi() without errors tile/perf: Support perf_events on tilegx and tilepro perf tools: Allow building for tile arch/tile/Kconfig | 6 + arch/tile/include/asm/perf_event.h | 22 + arch/tile/include/asm/pmc.h | 64 +++ arch/tile/kernel/Makefile | 2 + arch/tile/kernel/intvec_32.S | 24 +- arch/tile/kernel/intvec_64.S | 24 +- arch/tile/kernel/irq.c | 18 + arch/tile/kernel/perf_event.c | 1005 ++++++++++++++++++++++++++++++++++++ arch/tile/kernel/pmc.c | 121 +++++ tools/perf/config/Makefile.arch | 3 +- tools/perf/perf.h | 8 + 11 files changed, 1283 insertions(+), 14 deletions(-) create mode 100644 arch/tile/include/asm/perf_event.h create mode 100644 arch/tile/include/asm/pmc.h create mode 100644 arch/tile/kernel/perf_event.c create mode 100644 arch/tile/kernel/pmc.c -- 1.8.3.1 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/