diff options
author | jistone <jistone> | 2006-12-07 03:01:42 +0000 |
---|---|---|
committer | jistone <jistone> | 2006-12-07 03:01:42 +0000 |
commit | e0d86324628566cedd055ed038fd487c12db676a (patch) | |
tree | e1af137734c443eaa923dde0ea22962eb35a8087 /parse.cxx | |
parent | 129be0acc85b2bb7bb9b3c71b0c4caa350aecb4b (diff) | |
download | systemtap-steved-e0d86324628566cedd055ed038fd487c12db676a.tar.gz systemtap-steved-e0d86324628566cedd055ed038fd487c12db676a.tar.xz systemtap-steved-e0d86324628566cedd055ed038fd487c12db676a.zip |
2006-12-06 Josh Stone <joshua.i.stone@intel.com>
PR 3623.
* tapsets.cxx (timer_derived_probe_group::emit_module_decls): Restart
the timers if we are in STARTING or RUNNING state.
(hrtimer_derived_probe_group::emit_module_decls): Ditto.
(be_derived_probe_group::emit_module_init): indicate error to the rest
of the initialization if any begin probes fail.
* translate.cxx (c_unparser::emit_module_init): Set the global error
state on an initialization error so timers know to shut down.
runtime/
* time.c (stp_timer_reregister): Add a global to control whether the
gettimeofday timer should restart itself, for clean shutdown.
(__stp_time_timer_callback): Check the global.
(_stp_kill_time, _stp_init_time): Set the global.
(_stp_gettimeofday_ns): Switch to preempt_enable_no_resched.
* time.c (__stp_time_cpufreq_callback): Use the cpu# from the notifier.
(_stp_init_time): No need to disable preemption around cpufreq init.
Diffstat (limited to 'parse.cxx')
0 files changed, 0 insertions, 0 deletions