This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug tapsets/3279] timer.profile broken on Xen kernels
- From: "joshua dot i dot stone at intel dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 29 Sep 2006 01:04:08 -0000
- Subject: [Bug tapsets/3279] timer.profile broken on Xen kernels
- References: <20060928194418.3279.hunt@redhat.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- 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.