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 translator/19757] New: on rawhide, error accessing va_list pointers


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

            Bug ID: 19757
           Summary: on rawhide, error accessing va_list pointers
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: dsmith at redhat dot com
  Target Milestone: ---

On RHEL7 (3.10.0-347.el7.x86_64):

====
# stap -L 'kernel.function("printk").call'
kernel.function("printk@kernel/printk.c:1693").call $fmt:char const*
$args:va_list
# stap -p4 -e 'probe kernel.function("printk").call { println($$vars) }'
/home/dsmith/.systemtap/cache/c0/stap_c0d601ecf7f4d1493e94a22cedb5d719_1841.ko
====

On rawhide (4.5.0-0.rc5.git0.2.fc25.x86_64)

====
# stap -L 'kernel.function("printk").call'
kernel.function("printk@kernel/printk/printk.c:1900").call $fmt:char const*
$args:va_list
# stap -p4 -e 'probe kernel.function("printk").call { println($$vars) }'
semantic error: while processing probe
kernel.function("printk@kernel/printk/printk.c:1900").call from:
kernel.function("printk").call

semantic error: cannot get type of pointee: no error: identifier '$$vars' at
<input>:1:48
        source: probe kernel.function("printk").call { println($$vars) }
                                                               ^

Pass 2: analysis failed.  [man error::pass2]
# stap -p4 -e 'probe kernel.function("printk").call { println($fmt) }'
/home/dsmith/.systemtap/cache/6b/stap_6b6f35a4e52f4392da921bbdaab84638_1883.ko
# stap -p4 -e 'probe kernel.function("printk").call { println($args) }'
semantic error: while processing probe
kernel.function("printk@kernel/printk/printk.c:1900").call from:
kernel.function("printk").call

semantic error: cannot get type of pointee: no error: identifier '$args' at
<input>:1:48
        source: probe kernel.function("printk").call { println($args) }
                                                               ^

Pass 2: analysis failed.  [man error::pass2]
===

So, for some reason on rawhide we can't get the type of a pointer that is a
va_list.

(on rawhide this failure is causing failures in the rlimit.exp testcase,
although this isn't what that test is really testing)

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