Thread (21 messages) 21 messages, 5 authors, 2021-06-28

Re: [PATCH v1 1/3] coresight: etm-perf: Correct buffer syncing for snapshot

From: Leo Yan <hidden>
Date: 2021-06-09 01:40:33
Also in: linux-perf-users, lkml

On Wed, Jun 09, 2021 at 09:35:55AM +0800, Leo Yan wrote:

[...]
quoted
The problem with this approach is that if the AUX buffer is 4MB and the CS
buffer is 1MB then we only record 1MB, but because of N:1 topologies we may not
be able to do better.  I haven't looked at the code yet, something I will do
tomorrow.
Yes, the fixing in this patch copies the trace data is limited by the
CoreSight bounce buffer length.  So if CoreSight buffer length is
1MiB, then we have no chance to allocate 4MiB for AUX buffer.
Sorry for typo, just correct:

if CoreSight buffer length is 1MiB, then we have no chance to *copy*
4MiB trace data for AUX buffer.

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help