On Tue, 22 Aug 2017 14:49:47 +0000 Thierry Laviron Thierry.Laviron@arm.com wrote:
Hi,
Following my previous email (which you might not have received yet, because the attached snapshot was slightly over the size limit), I have written a small patch to address the issue I found with ETMv4 decoding.
Without delving into the subject matter, I tried running an OpenCSD-built 'perf report -D' on the same perf.data file, and found some decoder data goes missing with this patch, like the Es and Ns for example:
--- dump 2017-08-22 15:54:05.207041851 -0500 +++ dump-WITHthierry 2017-08-22 15:43:31.884817645 -0500 @@ -235,3496 +235,3496 @@ 128: id[16] I_NOT_SYNC : I Stream not synchronised 4638: id[16] I_ASYNC : Alignment Synchronisation. 4651: id[16] I_TRACE_INFO : Trace Info.; INFO=0x0 - 4654: id[16] I_ADDR_CTXT_L_64IS0 : Address & Context, Long, 64 bit, IS0.; Addr=0xFFFF0000081D3BC8; Ctxt: AArch64,EL1, NS; - 4665: id[16] I_ATOM_F3 : Atom format 3.; NEE + 4654: id[16] I_ADDR_CTXT_L_64IS0 : Address & Context, Long, 64 bit, IS0.; Addr=0xFFFF0000081D3BC8; + 4665: id[16] I_ATOM_F3 : Atom format 3.; 4666: id[16] I_ADDR_L_64IS0 : Address, Long, 64 bit, IS0.; Addr=0xFFFF0000081D6EC0; - 4676: id[16] I_ATOM_F2 : Atom format 2.; NE + 4676: id[16] I_ATOM_F2 : Atom format 2.; 4677: id[16] I_ADDR_S_IS0 : Address, Short, IS0.; Addr=0xFFFF0000081D7160 ~[0x17160] - 4680: id[16] I_ATOM_F3 : Atom format 3.; ENE - 4681: id[16] I_ATOM_F3 : Atom format 3.; EEN - 4682: id[16] I_ATOM_F1 : Atom format 1.; E + 4680: id[16] I_ATOM_F3 : Atom format 3.; + 4681: id[16] I_ATOM_F3 : Atom format 3.; + 4682: id[16] I_ATOM_F1 : Atom format 1.; 4683: id[16] I_ADDR_S_IS0 : Address, Short, IS0.; Addr=0xFFFF0000081D6FD0 ~[0x16FD0] - 4686: id[16] I_ATOM_F1 : Atom format 1.; E + 4686: id[16] I_ATOM_F1 : Atom format 1.; 4688: id[16] I_ADDR_S_IS0 : Address, Short, IS0.; Addr=0xFFFF0000081DD870 ~[0x1D870] - 4691: id[16] I_ATOM_F3 : Atom format 3.; ENN - 4692: id[16] I_ATOM_F3 : Atom format 3.; EEN - 4693: id[16] I_ATOM_F4 : Atom format 4.; NNNN - 4694: id[16] I_ATOM_F3 : Atom format 3.; ENE + 4691: id[16] I_ATOM_F3 : Atom format 3.; + 4692: id[16] I_ATOM_F3 : Atom format 3.; + 4693: id[16] I_ATOM_F4 : Atom format 4.; + 4694: id[16] I_ATOM_F3 : Atom format 3.; <snip>
Thanks,
Kim