On 3/6/2014 1:09 AM, Tony Lu wrote: > 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 +
Taken into the tile tree, with the wr_miss fix, given Peter's (soft) ack that it looked basically OK. If there is more feedback we can adjust before I ask Linus to pull. -- Chris Metcalf, Tilera Corp. http://www.tilera.com -- 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/