Hello Al,
On 29 March 2017 at 13:32, Al Grant Al.Grant@arm.com wrote:
Hi,
Couple of questions here about perf/OpenCSD and dynamic code.
- what's the status of decode for arbitrarily loaded/unloaded shared objects?
I.e. decode where the code is in an ELF binary and we just need to know which binaries are at what address and at what time. Can we match up mmap events with the captured ETM trace to do the decode, even with modules being unloaded and overwritten by other modules?
It depends on what you're looking for. If you want to trace code in a kernel module that was just loaded, that won't work. On the flip side it is possible to specify filters on user space libraries and binaries. It is just a matter of specifying the offset to start tracing from and the infrastructure will do the rest for you.
- what's the status of decode for JITted code? Here you'd need to capture the
actual contents of the code cache, to be able to decode it.
That isn't supported.
Regards, Mathieu
Are these ready to go or is there still some work to do?
Thanks,
Al _______________________________________________ CoreSight mailing list CoreSight@lists.linaro.org https://lists.linaro.org/mailman/listinfo/coresight