How to use ARM ETM/ETB at linux?
linus.walleij at linaro.org
Thu Jun 28 11:42:54 EDT 2012
On Thu, Jun 21, 2012 at 7:38 AM, Frank Li <lznuaa at gmail.com> wrote:
> Anyone use ARM ETM/ETB before?
I know for sure that Arve has been making good use of the ETB+ETB,
since there are some nice patches for it in the Android source tree,
but I don't know how he's using it :-)
John Stultz recently submitted some of Arves patches upstream so let's
ask these gentlemen how they use it.
> I run.
> echo 1 > /sys/devices/etm/trace_running
> root at freescale /$ echo v >/proc/sysrq-trigger
> SysRq : etm
> Trace buffer contents length: 4
> --- ETB buffer begin ---
> --- ETB buffer end ---
> best regards
> Frank Li
More information about the linux-arm-kernel