Thread (38 messages) 38 messages, 5 authors, 2021-11-09

Re: [PATCH 4/5] perf arm-spe: Implement find_snapshot callback

From: German Gomez <hidden>
Date: 2021-10-06 09:35:28
Also in: linux-perf-users, lkml

Hi Leo,

Many thanks for your comments.

On 04/10/2021 13:27, Leo Yan wrote:
Hi German,

On Thu, Sep 30, 2021 at 01:26:15PM +0100, German Gomez wrote:

[...]

So simply say, I think the head pointer monotonically increasing is
the right thing to do in Arm SPE driver.
I will talk to James about how we can proceed on this.
quoted
(note that the patch will skip the wrap-around detection if this is the
case,
in order to handle both cases in the userspace perf tool).
Almost agree, I read multiple times but have no idea what's the
"both cases" in the last sentence.
Apologies for the later part was not clear. What I meant to say was that
in the original patch for cs-etm, it seemed to handle both cases where
AUX head might be monotonically and non-monotonically increasing, so we
applied the same for the Arm SPE patch.
Please let me know if anything is not clear.

Thanks,
Leo

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/util/auxtrace.c#n1804
_______________________________________________
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