lkml.org 
[lkml]   [2014]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] tile: Add perf_events support for tile
Date
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


\
 
 \ /
  Last update: 2014-03-06 08:41    [W:0.028 / U:3.596 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site