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 kprobes/2637] New: skipped probes in FC6


Testing using:
>stap -e 'probe kernel.function("sys_open"){printf("%s: %s\n", execname(),
user_string($filename))}'  -c ps

On all FC5 kernels, it works fine.
On all FC6 kernels, I get
sh: /etc/ld.so.cache
sh: /lib/libtermcap.so.2
sh: /lib/libdl.so.2
sh: /lib/libc.so.6
sh:
ERROR: user string copy fault at 0x080cf85a near identifier '$filename' at
<input>:1:78
  PID TTY          TIME CMD
 2437 pts/0    00:00:00 bash
 3095 pts/0    00:00:00 stap
 3194 pts/0    00:00:00 ps
WARNING: Number of errors: 1, skipped probes: 1

Changing user_string() in tapset/conversions.stp to ignore copy errors, I still
get skipped probes.
> WARNING: Number of errors: 0, skipped probes: 3

-- 
           Summary: skipped probes in FC6
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: critical
          Priority: P1
         Component: kprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: hunt at redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2637

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


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