GeezerVison is showing github.com — re-generate syscall list (add file_getattr / file_setattr) · sevan/bcc@b63d7e3
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: libbpf-tools/syscall_helpers.c +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -125,7 +125,7 @@ void free_syscall_names(void) |
125 | 125 |
|
126 | 126 | /* |
127 | 127 | * Syscall table for Linux x86_64. Automatically generated from |
128 | | - * https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=v6.15.6 |
| 128 | + * https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=linux-6.17.y |
129 | 129 | * using the following commands: |
130 | 130 | * |
131 | 131 | * cat arch/x86/entry/syscalls/syscall_64.tbl \ |
@@ -517,6 +517,8 @@ static const char *syscall_names_x86_64[] = { |
517 | 517 | [465] = "listxattrat", |
518 | 518 | [466] = "removexattrat", |
519 | 519 | [467] = "open_tree_attr", |
| 520 | + [468] = "file_getattr", |
| 521 | + [469] = "file_setattr", |
520 | 522 | [512] = "rt_sigaction", |
521 | 523 | [513] = "rt_sigreturn", |
522 | 524 | [514] = "ioctl", |
|
Collapse file
Copy file name to clipboardExpand all lines: src/python/bcc/syscall.py +3-1Lines changed: 3 additions & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
|
19 | 19 | import platform |
20 | 20 |
|
21 | 21 | # Syscall table for Linux x86_64, not very recent. Automatically generated from |
22 | | -# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=v6.15.6 |
| 22 | +# https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/arch/x86/entry/syscalls/syscall_64.tbl?h=linux-6.17.y |
23 | 23 | # using the following command: |
24 | 24 | # |
25 | 25 | # cat arch/x86/entry/syscalls/syscall_64.tbl \ |
|
408 | 408 | 465: b"listxattrat", |
409 | 409 | 466: b"removexattrat", |
410 | 410 | 467: b"open_tree_attr", |
| 411 | + 468: b"file_getattr", |
| 412 | + 469: b"file_setattr", |
411 | 413 | 512: b"rt_sigaction", |
412 | 414 | 513: b"rt_sigreturn", |
413 | 415 | 514: b"ioctl", |
|