]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbe5b6be80dbb6b6727a64591855ab8f997306823
tree9647174faebefdcef4c714e4135439cb2da90e11
parenta6abb53009c7011a14ae9f32a6ed28c959a7472e
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]