[Bug tapsets/3279] timer.profile broken on Xen kernels
joshua dot i dot stone at intel dot com
sourceware-bugzilla@sourceware.org
Fri Sep 29 01:04:00 GMT 2006
------- Additional Comments From joshua dot i dot stone at intel dot com 2006-09-29 01:04 -------
On Xen kernels, the callback registration for timer.profile is successful (via
register_timer_hook), but it never gets called because profile_tick is never called.
If anyone really needs this, you can approximate the same functionality like so:
function __set_regs(regs:long) %{
CONTEXT->regs = (struct pt_regs *)(long)THIS->regs;
%}
probe fake.timer.profile = kernel.function("timer_interrupt") {
__set_regs($regs)
}
... but this has much higher overhead. It would be nicer to find a patch for
Xen so that it calls profile_tick properly.
--
What |Removed |Added
----------------------------------------------------------------------------
Summary|timer.profile broken on |timer.profile broken on Xen
|2.6.18 x86_64 |kernels
http://sourceware.org/bugzilla/show_bug.cgi?id=3279
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the Systemtap
mailing list