]> sourceware.org Git - systemtap.git/commit
PR16716 partial fix: Fix types in syscall.clock_{getres,gettime,nanosleep}.
authorDavid Smith <dsmith@redhat.com>
Fri, 2 May 2014 13:20:21 +0000 (08:20 -0500)
committerDavid Smith <dsmith@redhat.com>
Fri, 2 May 2014 13:20:21 +0000 (08:20 -0500)
commit43b766b189aa5dd66033fc3eec9870f4d81b8a5c
treefa78a2cee36095b956eb63e8eb35fead98b00448
parenteb94071d6ed22ae8777f60e67ca5771bc5201093
PR16716 partial fix: Fix types in syscall.clock_{getres,gettime,nanosleep}.

* tapset/linux/syscalls.stp (syscall.clock_getres): Fix compat support and
  types.
  (syscall.clock_gettime): Fix compat support and add 'tp_uaddr' variable.
  (syscall.clock_nanosleep): Fix types. Add 'clk_id', 'clk_id_str',
  'req_uaddr', and 'rem_uaddr' variables. Deprecate 'flag_str' in favor of
  'flags_str'.
  (syscall.compat_clock_nanosleep): Ditto.
  (syscall.clock_settime): Fix types.
* tapset/linux/nd_syscalls.stp (nd_syscall.clock_getres): Fix compat support.
  (nd_syscall.clock_gettime): Fix compat support and add 'tp_uaddr' variable.
  (nd_syscall.clock_nanosleep): Add 'clk_id', 'clk_id_str', 'req_uaddr',
  and 'rem_uaddr' variables. Deprecate 'flag_str' in favor of 'flags_str'.
  (nd_syscall.compat_clock_nanosleep): Ditto.
* tapset/linux/aux_syscalls.stp (_struct_timeval_u): Instead of "UNKNOWN",
  print the failing address.
  (_struct_compat_timeval_u): Ditto.
  (_struct_timezone_u): Ditto.
  (_struct_timespec_u): Ditto.
  (_struct_compat_timespec_u): Ditto.
  (_stp_clock_nanosleep_flags_str): New function.
  (_get_wc_str): Convert to use _stp_lookup_str().
* testsuite/buildok/aux_syscalls-embedded.stp: Add test for
  _stp_clock_nanosleep_flags_str().
* testsuite/buildok/syscalls-detailed.stp: Add tests for new variables.
* testsuite/buildok/nd_syscalls-detailed.stp: Ditto.
* testsuite/systemtap.syscall/clock.c: Add more error testing.
* testsuite/systemtap.syscall/futimes.c: Update expected output.
* testsuite/systemtap.syscall/net1.c: Ditto.
* testsuite/systemtap.syscall/recvmmsg.c: Ditto.
* testsuite/systemtap.syscall/select.c: Ditto.
* testsuite/systemtap.syscall/inotify.c: Fix "COVERAGE" comment formatting.
12 files changed:
tapset/linux/aux_syscalls.stp
tapset/linux/nd_syscalls.stp
tapset/linux/syscalls.stp
testsuite/buildok/aux_syscalls-embedded.stp
testsuite/buildok/nd_syscalls-detailed.stp
testsuite/buildok/syscalls-detailed.stp
testsuite/systemtap.syscall/clock.c
testsuite/systemtap.syscall/futimes.c
testsuite/systemtap.syscall/inotify.c
testsuite/systemtap.syscall/net1.c
testsuite/systemtap.syscall/recvmmsg.c
testsuite/systemtap.syscall/select.c
This page took 0.031553 seconds and 5 git commands to generate.