arm64: Trace emulation of AArch32 legacy instructions
authorPunit Agrawal <punit.agrawal@arm.com>
Tue, 18 Nov 2014 11:41:27 +0000 (11:41 +0000)
committerWill Deacon <will.deacon@arm.com>
Thu, 20 Nov 2014 16:35:02 +0000 (16:35 +0000)
commitd784e2988a3e70a6f1047e80e01465a903ea2eba
tree9647174faebefdcef4c714e4135439cb2da90e11
parentc852f320584600a372646055d8229e063949eee7
arm64: Trace emulation of AArch32 legacy instructions

Introduce an event to trace the usage of emulated instructions. The
trace event is intended to help identify and encourage the migration
of legacy software using the emulation features.

Use this event to trace usage of swp and CP15 barrier emulation.

Acked-by: Steven Rostedt <rostedt@goodmis.org>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Punit Agrawal <punit.agrawal@arm.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/kernel/Makefile
arch/arm64/kernel/armv8_deprecated.c
arch/arm64/kernel/trace-events-emulation.h [new file with mode: 0644]