Messages in this thread | | | From | Tony Lu <> | Subject | [PATCH 0/4] tile: Add perf_events support for tile | Date | Thu, 6 Mar 2014 06:09:30 +0000 |
| |
From: Zhigang Lu <zlu@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
| |