Thread (1 message) 1 message, 1 author, 2014-10-14

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

From: Punit Agrawal <hidden>
Date: 2014-10-14 16:18:55

[ Correcting Arnd's email address ]

Hi Steve,

Thanks for having a look.

Steven Rostedt [off-list ref] writes:
On Wed,  1 Oct 2014 13:07:59 +0100
Punit Agrawal [off-list ref] wrote:
quoted
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?
The intention was to create a generic event to trace instruction
emulation irrespective of the architecture but at the moment the only
user will be arm64.

Whether other architectures start using it... I am not sure.
If not, please keep this tracepoint in the arch/arm64 directories. The
sample code in samples/trace_events/ explains how to do this.
I'll move this to arm64 in the next version.
Thanks,

-- Steve


_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel at lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help