[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <87sf2ea679.fsf@meer.lwn.net>
Date: Tue, 30 Jan 2024 13:59:06 -0700
From: Jonathan Corbet <corbet@....net>
To: Leo Yan <leo.yan@...aro.org>, Arnaldo Carvalho de Melo
<acme@...nel.org>, Ian Rogers <irogers@...gle.com>, Thomas Richter
<tmricht@...ux.ibm.com>, Peter Zijlstra <peterz@...radead.org>, Adrian
Hunter <adrian.hunter@...el.com>, Jiri Olsa <jolsa@...nel.org>, Ingo
Molnar <mingo@...nel.org>, linux-doc@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org
Cc: Leo Yan <leo.yan@...aro.org>
Subject: Re: [PATCH v8] Documentation: userspace-api: Document perf ring
buffer mechanism
Leo Yan <leo.yan@...aro.org> writes:
> In the Linux perf tool, the ring buffer serves not only as a medium for
> transferring PMU event data but also as a vital mechanism for hardware
> tracing using technologies like Intel PT and Arm CoreSight, etc.
>
> Consequently, the ring buffer mechanism plays a crucial role by ensuring
> high throughput for data transfer between the kernel and user space
> while avoiding excessive overhead caused by the ring buffer itself.
>
> This commit documents the ring buffer mechanism in detail. It explains
> the implementation of both the regular ring buffer and the AUX ring
> buffer. Additionally, it covers how these ring buffers support various
> tracing modes and explains the synchronization with memory barriers.
>
> Signed-off-by: Leo Yan <leo.yan@...aro.org>
> ---
Applied, thanks.
jon
Powered by blists - more mailing lists