Skip to content

Comments

libbpf-tools: syscall_helpers.c: Fix incorrect syscall name#5264

Merged
yonghong-song merged 1 commit intoiovisor:masterfrom
Rtoax:patch-87-syscall_helpers-syscalls
Apr 3, 2025
Merged

libbpf-tools: syscall_helpers.c: Fix incorrect syscall name#5264
yonghong-song merged 1 commit intoiovisor:masterfrom
Rtoax:patch-87-syscall_helpers-syscalls

Conversation

@Rtoax
Copy link
Contributor

@Rtoax Rtoax commented Apr 1, 2025

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]

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: iovisor@dc24158af21e [1]
Signed-off-by: Rong Tao <rongtao@cestc.cn>
@chenhengqi
Copy link
Collaborator

cc @ismhong

@ismhong
Copy link
Contributor

ismhong commented Apr 3, 2025

LGTM.

Sorry for my carelessness, it seems I miss this item while generating table by script. Please check kernel source include/uapi/asm-generic/unistd.h 1. Thanks @Rtoax to fix it.

@yonghong-song yonghong-song merged commit 322dfef into iovisor:master Apr 3, 2025
1 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants