]> sourceware.org Git - systemtap.git/commit
Fixed PR14701 by adding dyninst timer probe support.
authorDavid Smith <dsmith@redhat.com>
Mon, 15 Oct 2012 21:28:28 +0000 (16:28 -0500)
committerDavid Smith <dsmith@redhat.com>
Mon, 15 Oct 2012 21:28:28 +0000 (16:28 -0500)
commit2b5ecafd927566208c081e204a2052ac889986ff
tree8ad066787117b56f1bbab13426555b0be080604d
parent1f13ff721e62c83e0eced837d951d559dc8b9a4f
Fixed PR14701 by adding dyninst timer probe support.

* tapset-timers.cxx (hrtimer_derived_probe_group::emit_interval): Removed
  function.
  (hrtimer_derived_probe_group::emit_module_decls): Pushed some code down
  to the runtime and added dyninst support.
  (hrtimer_derived_probe_group::emit_module_init): Ditto.
  (hrtimer_derived_probe_group::emit_module_exit): Ditto.
  (timer_builder::build): Throw semantic errors if 'timer.jiffies' or
  'timer.profile' probes are used in dyninst mode.
  (register_tapset_timers): Add fake privilege for 'timer.profile' probes
  when in dyninst mode (so we get a semantic error, not a privilege error).
* buildrun.cxx (compile_dyninst): Added '-lrt' for timer functions.
* testsuite/systemtap.pass1-4/buildok-dyninst.exp: Move some tests to the
  kfail list.
* runtime/timer.c: New file.
* runtime/dyninst/timer.c: Ditto.
* runtime/linux/timer.c: Ditto.
buildrun.cxx
runtime/dyninst/timer.c [new file with mode: 0644]
runtime/linux/timer.c [new file with mode: 0644]
runtime/timer.c [new file with mode: 0644]
tapset-timers.cxx
testsuite/systemtap.pass1-4/buildok-dyninst.exp
This page took 0.027641 seconds and 5 git commands to generate.