]> sourceware.org Git - systemtap.git/commit
PR16716 partial fix: Better types passed to _dfd_str() from syscall probes.
authorDavid Smith <dsmith@redhat.com>
Wed, 23 Apr 2014 19:37:51 +0000 (14:37 -0500)
committerDavid Smith <dsmith@redhat.com>
Wed, 23 Apr 2014 19:37:51 +0000 (14:37 -0500)
commit93adcc21339b0f90892ae56a2cb310720d9fc17c
tree9298e2bc9b71c2f81ab753f126046fc1721f7b04
parent48eb228d07266e269a2267f25a58cbccd92a2327
PR16716 partial fix: Better types passed to _dfd_str() from syscall probes.

* tapset/linux/syscalls.stp: Fixed calls to _dfd_str() in
  facessat, fchownat, futimesat, compat_futimesat, and linkat syscall
  probes.
  (syscall.futimesat): Added 'dirfd_str' variable. Fixed nesting.
  (syscall.compat_futimesat): Ditto.
* tapset/linux/nd_syscalls.stp (nd_syscall.futimesat): Added 'dirfd_str'
  variable. Fixed nesting.
  (nd_syscall.compat_futimesat): Ditto.
* tapset/linux/syscalls2.stp: Fixed calls to _dfd_str() in openat,
  readlinkat, renameat, symlinkat, unlinkat, and utimensat syscall
  probes.
  (syscall.openat): Added 'dfd' and 'dfd_str' variables.
  (syscall.readlinkat): Added 'dfd_str' variable.
  (syscall.utimensat): Added 'dfd', 'dfd_str', 'filename_uaddr',
  'filename', 'tsp_uaddr', 'flags', and 'flags_str' variables.
  (syscall.compat_utimensat): Ditto.
* tapset/linux/nd_syscalls2.stp (nd_syscall.openat): Added 'dfd' and
  'dfd_str' variables.
  (nd_syscall.readlinkat): Added 'dfd_str' variable.
  (nd_syscall.utimensat): Added 'dfd', 'dfd_str', 'filename_uaddr',
  'filename', 'tsp_uaddr', 'flags', and 'flags_str' variables.
  (nd_syscall.compat_utimensat): Ditto.
* tapset/linux/aux_syscalls.stp (_dfd_str): Improve to not ignore
  compatibility mode wrong value (instead, values passed in were fixed).
* runtime/linux/compat_unistd.h: Add '__NR_compat_futimesat' define.
* testsuite/systemtap.syscall/alarm.c: Add more tests.
* testsuite/systemtap.syscall/futimes.c: Ditto.
* testsuite/buildok/syscalls-detailed.stp: Added basic test for new
  variables.
* testsuite/buildok/syscalls2-detailed.stp: Ditto.
* testsuite/buildok/nd_syscalls-detailed.stp: Ditto.
* testsuite/buildok/nd_syscalls2-detailed.stp: Ditto.
12 files changed:
runtime/linux/compat_unistd.h
tapset/linux/aux_syscalls.stp
tapset/linux/nd_syscalls.stp
tapset/linux/nd_syscalls2.stp
tapset/linux/syscalls.stp
tapset/linux/syscalls2.stp
testsuite/buildok/nd_syscalls-detailed.stp
testsuite/buildok/nd_syscalls2-detailed.stp
testsuite/buildok/syscalls-detailed.stp
testsuite/buildok/syscalls2-detailed.stp
testsuite/systemtap.syscall/alarm.c
testsuite/systemtap.syscall/futimes.c
This page took 0.596996 seconds and 5 git commands to generate.