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/15937] New: On arm fc19 unable to find $whence argment for kernel.function("sys_llseek").call


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

            Bug ID: 15937
           Summary: On arm fc19 unable to find $whence argment for
                    kernel.function("sys_llseek").call
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: wcohen at redhat dot com

When reviewing the test results on arm machines running fc19 I found that
systemtap wasn't able to find the $whence argument for
kernel.function(sys_llseek").call and this was causing a number of tests to
fail.

On a trimslice arm machine running:

$ uname -a
Linux dhcp129-3.rdu.redhat.com 3.10.10-200.fc19.armv7hl #1 SMP Fri Aug 30
00:21:28 UTC 2013 armv7l armv7l armv7l GNU/Linux


I can replicate the problem with:

$ stap -e 'probe kernel.function("sys_llseek").call{ printf("whence =%d\n",
$whence)}'
semantic error: No cfa_ops supplied, but needed by DW_OP_call_frame_cfa:
identifier '$whence' at <input>:1:66
        source: probe kernel.function("sys_llseek").call{ printf("whence
=%d\n", $whence)}
                                                                               
 ^

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


However, the -L command does list it as available:

$ stap -L 'kernel.function("sys_llseek").call'
kernel.function("SyS_llseek@fs/read_write.c:264").call $fd:long int
$offset_high:long int $offset_low:long int $result:long int $whence:long int

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