public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
* Coresight etmv4 enable over 32bit kernel
@ 2018-12-08 12:04 Lei Wen
  2018-12-10 18:01 ` Mathieu Poirier
  0 siblings, 1 reply; 4+ messages in thread
From: Lei Wen @ 2018-12-08 12:04 UTC (permalink / raw)
  To: mathieu.poirier; +Cc: leiwen, linux-kernel, linux-arm-kernel

Hi Mathieu,

I am enabling etmv4 coresight over one Cortex-A7 soc, using 32bit kernel.
And I am following [1] to do experiment regarding the addr_range feature.
The default addr_range is set as _stext~_etext, and it works fine with
etb as sink,
and etm as source. I could see there are valid kernel addresses using OpenCSD.

But while I try to store one small range of address pair, which contain only one
kernel function. It doesn't behavior like what said in [1], the write
pointer would
grows rapidly with the read pointer. And I dump the etb buffer and parse it with
openCSD, finding that there is no I_ASYNC packet in the dump and is fulled with
I_NOT_SYNC.

So my question is why ETB continue to grow when there is no trigger at all?
Is it normal? I could provide more info if you need it.

[1]: https://wiki.linaro.org/WorklingGroups/Kernel/Coresight/traceDecodingWithDS5

Thanks,
Lei

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-11 10:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-08 12:04 Coresight etmv4 enable over 32bit kernel Lei Wen
2018-12-10 18:01 ` Mathieu Poirier
2018-12-11  9:11   ` Lei Wen
2018-12-11 10:19     ` leo.yan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox