OpenCloudOS-Kernel/arch/sh/kernel/cpu/sh4
Peter Zijlstra 89d6c0b5bd perf, arch: Add generic NODE cache events
Add a NODE level to the generic cache events which is used to measure
local vs remote memory accesses. Like all other cache events, an
ACCESS is HIT+MISS, if there is no way to distinguish between reads
and writes do reads only etc..

The below needs filling out for !x86 (which I filled out with
unsupported events).

I'm fairly sure ARM can leave it like that since it doesn't strike me as
an architecture that even has NUMA support. SH might have something since
it does appear to have some NUMA bits.

Sparc64, PowerPC and MIPS certainly want a good look there since they
clearly are NUMA capable.

Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: David Miller <davem@davemloft.net>
Cc: Anton Blanchard <anton@samba.org>
Cc: David Daney <ddaney@caviumnetworks.com>
Cc: Deng-Cheng Zhu <dengcheng.zhu@gmail.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Cc: Will Deacon <will.deacon@arm.com>
Cc: Robert Richter <robert.richter@amd.com>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/1303508226.4865.8.camel@laptop
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2011-07-01 11:06:38 +02:00
..
Makefile sh: Fix up the CONFIG_PERF_EVENTS=n build for SH-4. 2009-11-12 16:20:36 +09:00
clock-sh4-202.c Merge branch 'misc' into devel 2011-01-06 22:32:52 +00:00
clock-sh4.c sh: Mass ctrl_in/outX to __raw_read/writeX conversion. 2010-01-26 12:58:40 +09:00
fpu.c sh: Move over to dynamically allocated FPU context. 2010-01-13 12:51:40 +09:00
perf_event.c perf, arch: Add generic NODE cache events 2011-07-01 11:06:38 +02:00
probe.c sh: sh7372 SH4AL-DSP probe support 2011-01-13 15:20:40 +09:00
setup-sh4-202.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into common/serial-rework 2011-01-13 15:06:28 +09:00
setup-sh7750.c sh: sh7750: Fix incompatible pointer type 2011-02-01 19:33:55 +09:00
setup-sh7760.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 into common/serial-rework 2011-01-13 15:06:28 +09:00
softfloat.c sh: __udivdi3 -> do_div() in softfloat lib. 2008-12-22 18:42:53 +09:00
sq.c sanitize <linux/prefetch.h> usage 2011-05-20 12:50:29 -07:00