Skip to content

Commit 322dfef

Browse files
authored
libbpf-tools: syscall_helpers.c: Fix incorrect syscall name (#5264)
In [1] commit dc24158 ("libbpf-tools: syscount: Add syscall lookup table for arm64 and riscv"), an incorrect system call name was introduced, probably because __NR_syscalls was used directly to obtain the name "syscalls", while in fact it was a count. Link: dc24158af21e [1] Signed-off-by: Rong Tao <[email protected]>
1 parent e5d31ac commit 322dfef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libbpf-tools/syscall_helpers.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ static const char *syscall_names_generic[] = {
790790
[438] = "pidfd_getfd",
791791
[439] = "faccessat2",
792792
[440] = "process_madvise",
793-
[441] = "syscalls",
793+
[441] = "epoll_pwait2",
794794
[442] = "mount_setattr",
795795
[443] = "quotactl_fd",
796796
[444] = "landlock_create_ruleset",

0 commit comments

Comments
 (0)