]> sourceware.org Git - systemtap.git/commit
Update dump-syscalls.sh to generate 32-bit syscalls for aarch64
authorWilliam Cohen <wcohen@redhat.com>
Mon, 18 Feb 2019 14:52:49 +0000 (09:52 -0500)
committerWilliam Cohen <wcohen@redhat.com>
Mon, 18 Feb 2019 14:52:49 +0000 (09:52 -0500)
commitaf74da7b7e3caea6aaa52b8083c5c2cd851b969a
treea2daa291e82276775752210d00d57c119bbc8a9b
parent60144c0fa1ff70aa1c54ea6bcc37fb764ae25225
Update dump-syscalls.sh to generate 32-bit syscalls for aarch64

The aarch64 kernel can support aarch32 syscalls when CONFIG_COMPAT is set
in the kernel configuration (https://cateee.net/lkddb/web-lkddb/COMPAT.html).
This is set on the the aarch64 Fedora 29 kernels and causes builds to
fail with:

OUT semantic error: unresolved arity-1 global array __syscall_32_num2name, missing global declaration?: identifier '__syscall_32_num2name' at /usr/share/systemtap/tapset/linux/syscall_table.stp:8:16
        source:         return __syscall_32_num2name[num]
                               ^

Pass 2: analysis failed.  [man error::pass2]

Adding generation of the 32-bit syscall information for aarch64 to
address this.
scripts/dump-syscalls.sh
This page took 0.024707 seconds and 5 git commands to generate.