tools/perf/util/bpf_skel/augmented_raw_syscalls.bpf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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@gmail.com>
Suggested-by: Ian Rogers <irogers@google.com>
---
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
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@gmail.com>
> Suggested-by: Ian Rogers <irogers@google.com>
Acked-by: Namhyung Kim <namhyung@kernel.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
>
© 2016 - 2025 Red Hat, Inc.