Re: [PATCH 2/2] perf docs: Update the documentation for the save_type filter

From: Liang, Kan
Date: Thu Aug 25 2022 - 09:23:30 EST


Hi Arnaldo,

The kernel change has been merged into the tip perf/urgent branch.

Do you have any comments for the patch?
If it's OK for you, could you please pull this patch?

Thanks,
Kan

On 2022-08-16 8:56 a.m., kan.liang@xxxxxxxxxxxxxxx wrote:
> From: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
>
> Update the documentation to reflect the kernel changes.
>
> Signed-off-by: Kan Liang <kan.liang@xxxxxxxxxxxxxxx>
> ---
> tools/perf/Documentation/perf-record.txt | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt
> index 099817ef5150..d5c57ac1ee0a 100644
> --- a/tools/perf/Documentation/perf-record.txt
> +++ b/tools/perf/Documentation/perf-record.txt
> @@ -397,6 +397,9 @@ following filters are defined:
> - abort_tx: only when the target is a hardware transaction abort
> - cond: conditional branches
> - save_type: save branch type during sampling in case binary is not available later
> + For the platforms with Intel Arch LBR support (12th-Gen+ client or
> + 4th-Gen Xeon+ server), the save branch type is unconditionally enabled
> + when the taken branch stack sampling is enabled.
>
> +
> The option requires at least one branch type among any, any_call, any_ret, ind_call, cond.