[PATCHv2 5/5] arm64: Trace emulation of AArch32 legacy instructions

Steven Rostedt rostedt at goodmis.org
Wed Oct 1 07:40:02 PDT 2014


On Wed,  1 Oct 2014 13:07:59 +0100
Punit Agrawal <punit.agrawal at arm.com> wrote:

> 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.

Do you expect this to be a generic tracepoint? Something any arch can
use, and more importantly, will use?

If not, please keep this tracepoint in the arch/arm64 directories. The
sample code in samples/trace_events/ explains how to do this.

Thanks,

-- Steve




More information about the linux-arm-kernel mailing list