]> sourceware.org Git - systemtap.git/commit
PR16716: Fix types in syscall.sched_{getscheduler,setscheduler,rr_get_interval}
authorDavid Smith <dsmith@redhat.com>
Wed, 9 Apr 2014 17:00:05 +0000 (12:00 -0500)
committerDavid Smith <dsmith@redhat.com>
Wed, 9 Apr 2014 17:00:05 +0000 (12:00 -0500)
commitcd87311b90a49345f0da704ea376c75230d92162
tree39aaa2ec7c810230de4846bd8b98626c3a11b432
parent877a89d82133e0ea7c5994e3de26e9caad844d28
PR16716: Fix types in syscall.sched_{getscheduler,setscheduler,rr_get_interval}

* tapset/linux/syscalls2.stp (syscall.sched_getscheduler): Fixed types.
  (syscall.sched_setscheduler): Ditto.
  (syscall.sched_rr_get_interval): Fixed nesting and types. Also change
  'argstr' to just have a pointer to the 'struct timespec' value, since
  that is an output parameter and decoding it on input won't produce
  anything of value.
* tapset/linux/nd_syscalls2.stp: Ditto.
* tapset/linux/aux_syscalls.stp (_sched_policy_str): Updated to handle new
  values, including the new SCHED_RESET_ON_FORK flag.
* testsuite/systemtap.syscall/test.tcl (run_one_test): Since execname()
  only returns the first 15 characters of the test program name, truncate
  it.
* testsuite/systemtap.syscall/sched_getscheduler.c: New testcase
* testsuite/systemtap.syscall/sched_rr_get_interval.c: Ditto.
* testsuite/systemtap.syscall/sched_setscheduler.c: Ditto.
tapset/linux/aux_syscalls.stp
tapset/linux/nd_syscalls2.stp
tapset/linux/syscalls2.stp
testsuite/systemtap.syscall/sched_getscheduler.c [new file with mode: 0644]
testsuite/systemtap.syscall/sched_rr_get_interval.c [new file with mode: 0644]
testsuite/systemtap.syscall/sched_setscheduler.c [new file with mode: 0644]
testsuite/systemtap.syscall/test.tcl
This page took 0.030138 seconds and 5 git commands to generate.