[Bug 1547644] Re: systemtap does not work on wily kernel, hrtimer_get_res

Chris J Arges 1547644 at bugs.launchpad.net
Wed Mar 23 12:24:00 UTC 2016


Hello Dan, or anyone else affected,

Accepted systemtap into wily-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemtap/2.8-2ubuntu1.1 in a few
hours, and then in the -proposed repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed.  In either case, details of your testing will help
us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: systemtap (Ubuntu Wily)
       Status: In Progress => Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemtap in Ubuntu.
https://bugs.launchpad.net/bugs/1547644

Title:
  systemtap does not work on wily kernel, hrtimer_get_res

Status in systemtap package in Ubuntu:
  Fix Released
Status in systemtap source package in Wily:
  Fix Committed

Bug description:
  [Impact]

  Attempting to use systemtap with any timer on wily fails with:

  In file included from /usr/share/systemtap/runtime/timer.c:17:0,
                   from /tmp/stapNgYUlz/stap_d73751f21cb6a8e35c1e92f712612cc2_4574_src.c:869:
  /usr/share/systemtap/runtime/linux/timer.c: In function ‘_stp_hrtimer_init’:
  /usr/share/systemtap/runtime/linux/timer.c:19:2: error: implicit declaration of function ‘hrtimer_get_res’ [-Werror=implicit-function-declaration]
    hrtimer_get_res (CLOCK_MONOTONIC, &res);
    ^

  [Test Case]

  on a wily system that's running the wily kernel, with the kernel
  dbgsym installed, simply create a dummy stap script that uses a timer
  and try to run it, e.g.:

  $ cat test.stap 
  #!/usr/bin/stap

  probe timer.sec(1) {
    println("tick")
  }
  $ sudo stap test.stap

  the above compilation failure will happen.

  [Regression Potential]

  As the commit only changes the way systemtap uses the kernel timer
  function, and it already fails now, there is no regression potential.

  [Other Info]

  this requires upstream systemtap commit
  86f726b7785a035a2d6bc9ec2642c46621587d23

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemtap/+bug/1547644/+subscriptions



More information about the foundations-bugs mailing list