This is the mail archive of the systemtap@sourceware.org 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 runtime/19940] New: page_cache_release() missing from the latest rawhide kernel


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

            Bug ID: 19940
           Summary: page_cache_release() missing from the latest rawhide
                    kernel
           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 the latest rawhide kernel (4.6.0-0.rc2.git4.1.fc25.x86_64), I'm getting a
compile error:

====
# stap -v ./nd_sys.stp -c ./preadv
Pass 1: parsed user script and 113 library scripts using
238916virt/37424res/7652shr/29832data kb, in 200usr/70sys/279real ms.
Pass 2: analyzed script: 1114 probes, 195 functions, 104 embeds, 104 globals
using 252860virt/52528res/8880shr/43776data kb, in 52630usr/8080sys/60396real
ms.
Pass 3: translated to C into
"/tmp/stap7MMLS4/stap_f8b9110f991039a05cd3289bcbc92d31_1435804_src.c" using
254160virt/53824res/9008shr/45076data kb, in 6280usr/50sys/6339real ms.
In file included from /usr/local/share/systemtap/runtime/linux/runtime.h:209:0,
                 from /usr/local/share/systemtap/runtime/runtime.h:24,
                 from
/tmp/stap7MMLS4/stap_f8b9110f991039a05cd3289bcbc92d31_1435804_src.c:25:
/usr/local/share/systemtap/runtime/linux/access_process_vm.h: In function
â__access_process_vm_â:
/usr/local/share/systemtap/runtime/linux/access_process_vm.h:55:7: error:
implicit declaration of function âpage_cache_releaseâ
[-Werror=implicit-function-declaration]
       page_cache_release (page);
       ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
scripts/Makefile.build:291: recipe for target
'/tmp/stap7MMLS4/stap_f8b9110f991039a05cd3289bcbc92d31_1435804_src.o' failed
make[1]: ***
[/tmp/stap7MMLS4/stap_f8b9110f991039a05cd3289bcbc92d31_1435804_src.o] Error 1
Makefile:1431: recipe for target '_module_/tmp/stap7MMLS4' failed
make: *** [_module_/tmp/stap7MMLS4] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_f8b9110f991039a05cd3289bcbc92d31_1435804.ko" in
138660usr/14140sys/152267real ms.
Pass 4: compilation failed.  [man error::pass4]
====

The runtime should be updated to avoid this error.

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

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