Hey Paul,
Il 26/feb/2015 08:27 "Paul Fertser" <fercer...@gmail.com> ha scritto:
>
> Hey Rodrigo,
>
> Thank you for the interest in OpenOCD.
>
> On Thu, Feb 26, 2015 at 12:22:56AM +0000, Rodrigo Santos wrote:
> > Giving this scenario, IMHO, it looks like I need to implement a
> > ptm.c file based on etm.c. Do you agree? Do you have any suggestion?
>
> If they're sufficiently different, yes, the way you describe seems
> sensible. In general, what you write matches my impressions from
> reading etm.c and current ETM specification.
>
> > Since I've been struggling with the PandaBoard ES for quite a while,
are there
> > any other recommended Android/Linux-friendly boards with better ETM
support
> > already implemented in OpenOCD?
>
> No, as you've already noticed, only old ETM version (the one using
> dedicated JTAG TAP) is implemented currently.
>
> For the practical purposes if you need tracing right now, I suggest
> not using OpenOCD at all and instead learn the ETM/ETB configuration
> and dumping facilities already provided by Linux, the kernel.
This is interesting, although it may lead to artifacts on the host. The
assumption of Rodrigo's work (which I'm supervising) is that the traced
process may be effectively trying to fingerprint the environment for signs
of being monitored. For instance, assuming that I'm working in kernel
space, I'm wondering how the collected trace could be transferred outside
the host for subsequent analysis, without leaving evidence. As I'm not a
kernel hacker, I see that we could write to a serial port or something else
and then read from it from a separate machine.
Overall, I see an in-kernel solution as viable for a proof-of-concept
implementation.
Thanks for your suggestion Paul. Should you have further pointers, we'll be
thankful :)
--
Fede
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel