[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z-jXUkUE-Wk1eWCk@z2>
Date: Sat, 29 Mar 2025 22:32:02 -0700
From: Namhyung Kim <namhyung@...nel.org>
To: Howard Chu <howardchu95@...il.com>
Cc: acme@...nel.org, mingo@...hat.com, mark.rutland@....com,
alexander.shishkin@...ux.intel.com, jolsa@...nel.org,
irogers@...gle.com, adrian.hunter@...el.com, peterz@...radead.org,
kan.liang@...ux.intel.com, linux-perf-users@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] perf trace: Change __augmented_syscalls__'s value to int
On Wed, Mar 26, 2025 at 12:58:01PM -0700, Howard Chu wrote:
> This is to match the type of file descriptors, as suggested by Ian
> Rogers in this discussion:
> https://lore.kernel.org/linux-perf-users/CAP-5=fU+9EQKT2fOuBQ5ds6s4Bh6rWrvco1ow6B-CQ92XuO1kQ@mail.gmail.com/
>
> Signed-off-by: Howard Chu <howardchu95@...il.com>
> Suggested-by: Ian Rogers <irogers@...gle.com>
Acked-by: Namhyung Kim <namhyung@...nel.org>
Thanks,
Namhyung
> ---
> tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c b/tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c
> index e4352881e3fa..18a3086489ea 100644
> --- a/tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c
> +++ b/tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c
> @@ -31,7 +31,7 @@
> struct __augmented_syscalls__ {
> __uint(type, BPF_MAP_TYPE_PERF_EVENT_ARRAY);
> __type(key, int);
> - __type(value, __u32);
> + __type(value, int);
> __uint(max_entries, MAX_CPUS);
> } __augmented_syscalls__ SEC(".maps");
>
> --
> 2.45.2
>
Powered by blists - more mailing lists