]> git.baikalelectronics.ru Git - kernel.git/commit
perf_event: Add alignment-faults and emulation-faults software events
authorAnton Blanchard <anton@samba.org>
Sun, 18 Oct 2009 01:09:29 +0000 (01:09 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 28 Oct 2009 05:13:03 +0000 (16:13 +1100)
commit46ce014f53f603fe18113d1bce1409123b5057b6
tree0ed63257afd3fd02d83ab481af35855603ac4790
parent7a5ea3d4ddf7c6f65e800330b7ffe7fe350d4108
perf_event: Add alignment-faults and emulation-faults software events

Add two more software events that are common to many cpus.

Alignment faults: When a load or store is not aligned properly.

Emulation faults: When an instruction is emulated in software.

Both cause a very significant slowdown (100x or worse), so identifying and
fixing them is very important.

Signed-off-by: Anton Blanchard <anton@samba.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/linux/perf_counter.h
include/linux/perf_event.h
kernel/perf_event.c
tools/perf/design.txt
tools/perf/util/parse-events.c