public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug runtime/18634] New: on rawhide, using timer probes gets a compilation error
@ 2015-07-07 17:45 dsmith at redhat dot com
  2015-07-07 17:48 ` [Bug runtime/18634] " dsmith at redhat dot com
  2015-07-07 19:02 ` dsmith at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2015-07-07 17:45 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18634

            Bug ID: 18634
           Summary: on rawhide, using timer probes gets a compilation
                    error
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: runtime
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On 4.2.0-0.rc0.git4.1.fc23.x86_64, I get the following:

====
stap -v -p4 -e 'probe timer.s(5) {exit()}'
Pass 1: parsed user script and 109 library script(s) using
232092virt/44188res/7068shr/36912data kb, in 210usr/100sys/304real ms.
Pass 2: analyzed script: 1 probe(s), 1 function(s), 0 embed(s), 0 global(s)
using 232884virt/45220res/7324shr/37704data kb, in 0usr/0sys/7real ms.
Pass 3: translated to C into
"/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.c" using
232884virt/45620res/7708shr/37704data kb, in 10usr/0sys/0real ms.
In file included from /usr/local/share/systemtap/runtime/timer.c:17:0,
                 from
/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.c:175:
/usr/local/share/systemtap/runtime/linux/timer.c: In function
‘_stp_hrtimer_init’:
/usr/local/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);
  ^
cc1: all warnings being treated as errors
scripts/Makefile.build:258: recipe for target
'/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.o' failed
make[1]: *** [/tmp/stappCeG4j/stap_43a98ca53d900be8c821e350a2d2cb0b_1024_src.o]
Error 1
Makefile:1386: recipe for target '_module_/tmp/stappCeG4j' failed
make: *** [_module_/tmp/stappCeG4j] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_43a98ca53d900be8c821e350a2d2cb0b_1024.ko" in
2310usr/2610sys/4367real ms.
Pass 4: compilation failed.  [man error::pass4]
====

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/18634] on rawhide, using timer probes gets a compilation error
  2015-07-07 17:45 [Bug runtime/18634] New: on rawhide, using timer probes gets a compilation error dsmith at redhat dot com
@ 2015-07-07 17:48 ` dsmith at redhat dot com
  2015-07-07 19:02 ` dsmith at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2015-07-07 17:48 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18634

--- Comment #1 from David Smith <dsmith at redhat dot com> ---
Looks like this was caused by the following kernel commit:

====
commit 056a3cacbc46e5aca27b350ce4ecb3b33ebb0700
Author: Thomas Gleixner <tglx@linutronix.de>
Date:   Tue Apr 14 21:08:32 2015 +0000

    hrtimer: Get rid of hrtimer_get_res()

    The resolution is directly accessible now. So its simpler just to fill
    in the values of the timespec and be done with it.
====

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug runtime/18634] on rawhide, using timer probes gets a compilation error
  2015-07-07 17:45 [Bug runtime/18634] New: on rawhide, using timer probes gets a compilation error dsmith at redhat dot com
  2015-07-07 17:48 ` [Bug runtime/18634] " dsmith at redhat dot com
@ 2015-07-07 19:02 ` dsmith at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: dsmith at redhat dot com @ 2015-07-07 19:02 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=18634

David Smith <dsmith at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from David Smith <dsmith at redhat dot com> ---
Fixed in commit 86f726b.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-07-07 19:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 17:45 [Bug runtime/18634] New: on rawhide, using timer probes gets a compilation error dsmith at redhat dot com
2015-07-07 17:48 ` [Bug runtime/18634] " dsmith at redhat dot com
2015-07-07 19:02 ` dsmith at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).