]> sourceware.org Git - systemtap.git/commit
Uses <asm/syscall.h> when available.
authorDavid Smith <dsmith@redhat.com>
Thu, 9 Apr 2009 17:06:05 +0000 (12:06 -0500)
committerDavid Smith <dsmith@redhat.com>
Thu, 9 Apr 2009 17:06:05 +0000 (12:06 -0500)
commitd5cd287f7860df8752f93de93fcd1cc68884d56b
tree3925169ed4a5742464677f50f7a55e18cad1b561
parent52356a26e1825acbd9146337ffdbed9b0e173f2b
Uses <asm/syscall.h> when available.
2009-04-09  David Smith  <dsmith@redhat.com>

        * buildrun.cxx (compile_pass): Compile autoconf test for
        <asm/syscall.h>.
        * runtime/autoconf-asm-syscall.c: New "autoconf" test the presence
        of <asm/syscall.h>.
        * runtime/syscall.h: If <asm/syscall.h> exists, use it.
        Otherwise, use our private copy of the functions for each
        architecture.
        (syscall_get_nr): Renamed from __stp_user_syscall_nr().
        (syscall_get_return_value): Renamed from
        __stp_user_syscall_return_value().
        (syscall_get_arguments): Renamed from __stp_user_syscall_arg().
        * runtime/task_finder.c
        (__stp_utrace_task_finder_target_syscall_exit): Uses new syscall.h
        functions.
        * tapset/utrace.stp: Ditto.
buildrun.cxx
runtime/autoconf-asm-syscall.c [new file with mode: 0644]
runtime/syscall.h
runtime/task_finder.c
tapset/utrace.stp
This page took 0.029032 seconds and 5 git commands to generate.