This is the mail archive of the mailing list for the systemtap project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tapsets/3279] timer.profile broken on Xen kernels

------- 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") {

... 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

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]