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 tapsets/20189] New: on rawhide, PAGE_CACHE_SIZE is no longer defined (which breaks the vfs tapset)


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

            Bug ID: 20189
           Summary: on rawhide, PAGE_CACHE_SIZE is no longer defined
                    (which breaks the vfs tapset)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: tapsets
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On rawhide (4.7.0-0.rc0.git10.1.fc25.x86_64), the vfs tapset gets a compile
error:

====
# stap -vp4 ../src/testsuite/buildok/vfs-detailed.stp 
Pass 1: parsed user script and 113 library scripts using
237344virt/36636res/5848shr/30892data kb, in 210usr/60sys/269real ms.
Pass 2: analyzed script: 61 probes, 84 functions, 105 embeds, 0 globals using
418404virt/219208res/7284shr/211952data kb, in 16780usr/1600sys/18428real ms.
Pass 3: translated to C into
"/tmp/staptGZM36/stap_7aa44759300ff9c7aff24e65b89f1b29_220451_src.c" using
418404virt/219360res/7412shr/211952data kb, in 70usr/610sys/690real ms.
/tmp/staptGZM36/stap_7aa44759300ff9c7aff24e65b89f1b29_220451_src.c: In function
âprobe_3029â:
/tmp/staptGZM36/stap_7aa44759300ff9c7aff24e65b89f1b29_220451_src.c:17617:157:
error: âPAGE_CACHE_SIZEâ undeclared (first use in this function)
 _stp__dwarf_tvar_get_offset_12_value) & ((((((int64_t) ( /* pure */
PAGE_CACHE_SIZE  )))) - (((int64_t)1LL)))));
                                                                    
^~~~~~~~~~~~~~~
/tmp/staptGZM36/stap_7aa44759300ff9c7aff24e65b89f1b29_220451_src.c:17617:157:
note: each undeclared identifier is reported only once for each function it
appears in
scripts/Makefile.build:289: recipe for target
'/tmp/staptGZM36/stap_7aa44759300ff9c7aff24e65b89f1b29_220451_src.o' failed
make[1]: ***
[/tmp/staptGZM36/stap_7aa44759300ff9c7aff24e65b89f1b29_220451_src.o] Error 1
Makefile:1459: recipe for target '_module_/tmp/staptGZM36' failed
make: *** [_module_/tmp/staptGZM36] Error 2
WARNING: kbuild exited with status: 2
Pass 4: compiled C into "stap_7aa44759300ff9c7aff24e65b89f1b29_220451.ko" in
2740usr/2890sys/5112real ms.
Pass 4: compilation failed.  [man error::pass4]
====

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