Re: [PATCH] MAINTAINERS: perf: arm64: Catch all Arm files and folders

From: Anshuman Khandual
Date: Thu May 16 2024 - 00:35:09 EST




On 5/15/24 20:42, James Clark wrote:
> Catch all files and folders with Arm in the name in tools/perf/ up to
> two levels deep. There currently no false positives.
>
> This catches lots of missing items like these and more:
>
> * util/arm-spe-decoder/
> (The existing util/arm-spe* entry only matched files not folders)
> * util/perf-regs-arch/perf_regs_arm.c
> * scripts/python/arm-cs-trace-disasm.py
> * tests/shell/test_arm_spe.sh

Agreed.

>
> Signed-off-by: James Clark <james.clark@xxxxxxx>
> ---
> MAINTAINERS | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/MAINTAINERS b/MAINTAINERS
> index ec0284125e8f..c5d0256d32dd 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -17318,9 +17318,10 @@ R: Leo Yan <leo.yan@xxxxxxxxx>
> L: linux-arm-kernel@xxxxxxxxxxxxxxxxxxx (moderated for non-subscribers)
> S: Supported
> F: tools/build/feature/test-libopencsd.c
> -F: tools/perf/arch/arm*/
> -F: tools/perf/pmu-events/arch/arm64/
> -F: tools/perf/util/arm-spe*
> +F: tools/perf/*/*/*arm*
> +F: tools/perf/*/*/*arm*/
> +F: tools/perf/*/*arm*
> +F: tools/perf/*/*arm*/
> F: tools/perf/util/cs-etm*

Very minor nit, these regular expressions should be arranged as per
the increasing directory depth levels, just to make it apparent in
terms of which files are being covered here ?

F: tools/perf/*/*arm*
F: tools/perf/*/*arm*/
F: tools/perf/*/*/*arm*
F: tools/perf/*/*/*arm*/

But regardless, with or without the above changes

Reviewed-by: Anshuman Khandual <anshuman.khandual@xxxxxxx>

>
> PERSONALITY HANDLING