linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] nds32: Perf support
@ 2018-10-18  8:43 Nickhu
  2018-10-18  8:43 ` [PATCH 1/5] nds32: Perf porting Nickhu
                   ` (4 more replies)
  0 siblings, 5 replies; 16+ messages in thread
From: Nickhu @ 2018-10-18  8:43 UTC (permalink / raw)
  To: greentime, linux-kernel, robh+dt, mark.rutland, deanbo422,
	peterz, mingo, acme, alexander.shishkin, jolsa, namhyung, arnd,
	sboyd, geert, zong, ebiederm, akpm, gregkh, pombredanne, tglx,
	kstewart, devicetree
  Cc: Nickhu, green.hu

These two commit are perf supporting for nds32.
There are three perfomance counters in nds32, and
each of them can counts different events. You can
use 'perf list' to show the available events that
can be used.

Nickhu (5):
  nds32: Perf porting
  nds32: Fix bug in bitfield.h
  nds32: Add perf call-graph support.
  nds32: Fix perf multiple events map to same counter.
  nds32: Add document for NDS32 PMU.

 .../devicetree/bindings/nds32/pmu.txt         |   17 +
 arch/nds32/Kconfig                            |    1 +
 arch/nds32/boot/dts/ae3xx.dts                 |    5 +
 arch/nds32/include/asm/Kbuild                 |    1 +
 arch/nds32/include/asm/bitfield.h             |    4 +-
 arch/nds32/include/asm/perf_event.h           |   16 +
 arch/nds32/include/asm/pmu.h                  |  431 +++++
 arch/nds32/include/asm/stacktrace.h           |   39 +
 arch/nds32/kernel/Makefile                    |    3 +-
 arch/nds32/kernel/perf_event_cpu.c            | 1579 +++++++++++++++++
 arch/nds32/mm/fault.c                         |   13 +-
 tools/include/asm/barrier.h                   |    2 +
 tools/perf/arch/nds32/Build                   |    1 +
 tools/perf/arch/nds32/util/Build              |    1 +
 tools/perf/arch/nds32/util/header.c           |   29 +
 tools/perf/pmu-events/arch/nds32/mapfile.csv  |   15 +
 .../pmu-events/arch/nds32/n13/atcpmu.json     |  290 +++
 17 files changed, 2439 insertions(+), 8 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/nds32/pmu.txt
 create mode 100644 arch/nds32/include/asm/perf_event.h
 create mode 100644 arch/nds32/include/asm/pmu.h
 create mode 100644 arch/nds32/include/asm/stacktrace.h
 create mode 100644 arch/nds32/kernel/perf_event_cpu.c
 create mode 100644 tools/perf/arch/nds32/Build
 create mode 100644 tools/perf/arch/nds32/util/Build
 create mode 100644 tools/perf/arch/nds32/util/header.c
 create mode 100644 tools/perf/pmu-events/arch/nds32/mapfile.csv
 create mode 100644 tools/perf/pmu-events/arch/nds32/n13/atcpmu.json

-- 
2.17.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2018-10-22 13:17 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-18  8:43 [PATCH 0/5] nds32: Perf support Nickhu
2018-10-18  8:43 ` [PATCH 1/5] nds32: Perf porting Nickhu
2018-10-18 14:23   ` Mark Rutland
2018-10-22 10:18     ` Nick Hu
2018-10-22 13:15       ` Mark Rutland
2018-10-18  8:43 ` [PATCH 2/5] nds32: Fix bug in bitfield.h Nickhu
2018-10-18 14:26   ` Mark Rutland
2018-10-22 10:19     ` Nick Hu
2018-10-18  8:43 ` [PATCH 3/5] nds32: Add perf call-graph support Nickhu
2018-10-18  8:43 ` [PATCH 4/5] nds32: Fix perf multiple events map to same counter Nickhu
2018-10-18 14:29   ` Mark Rutland
2018-10-22 10:20     ` Nick Hu
2018-10-18  8:43 ` [PATCH 5/5] nds32: Add document for NDS32 PMU Nickhu
2018-10-18 14:31   ` Mark Rutland
2018-10-22 10:23     ` Nick Hu
2018-10-22 13:17       ` Mark Rutland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).