This is sources Bugzilla
Bugzilla Version 2.17.5
Bugzilla Bug 5528
  more user_* data conversions needed Last modified: 2008-04-03 22:10:55
     Query page      Enter new bug
Bug#: 5528   Hardware:   Reporter: Frank Ch. Eigler <fche@redhat.com>
Host: Target: Build:
Product:     Add CC:
Component:   Version:   CC:
Status: RESOLVED   Priority:  
Resolution: FIXED   Severity:  
Assigned To: Eugene Teo <eteo@redhat.com>   Target Milestone:  
Summary:
Keywords:

Attachment Description Type Created Actions
testsuite-fix-conversion.patch update testsuite/conversions.exp patch 2008-04-03 21:56 Edit | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 5528 depends on: Show dependency tree
Show dependency graph
Bug 5528 blocks:

Additional Comments:


Leave as RESOLVED FIXED
Reopen bug
Mark bug as VERIFIED

View Bug Activity   |   Format For Printing


Description:   Last confirmed: 0000-00-00 00:00 Opened: 2007-12-29 12:56
We need user_{char,int,long,string_n,...} to parallel the kernel_{...}
tapset functions in conversions.stp.

------- Additional Comment #1 From Eugene Teo 2008-03-21 14:38 -------
Patch committed:
http://sources.redhat.com/ml/systemtap-cvs/2008-q1/msg00219.html

Thanks,
Eugene

------- Additional Comment #2 From Eugene Teo 2008-03-22 02:32 -------
[root@rhel5u1-x64 ~]# stap -e 'probe syscall.pipe { printf("%s %d %d %d\n",
execname(), pid(), user_int($fildes), user_int($fildes+4)) }' 
sshd 2085 5 6
sshd 3152 0 0
bash 3154 32 0
bash 3154 32 0
bash 3154 32 0
bash 3154 1 1
bash 3154 1 1
[...]

[root@rhel5u1-x64 ~]# stap -e 'probe syscall.stat { printf("%s %d '%s' '%d'\n",
execname(), pid(), user_string_n_quoted($filename, 10),
user_char_warn($filename)) }' 
init 1 "/dev/i"... 47
init 1 "/dev/i"... 47
sshd 3331 "/var/e"... 47
WARNING: user char copy fault 00002aaaaaed777c
sshd 3331 "/bin/bash" 47
sshd 3331 <unknown 0
init 1 "/dev/i"... 47
init 1 "/dev/i"... 47
WARNING: user char copy fault 000055555559efb9
sshd 3331 "/etc/l"... 47
sshd 3331 "/etc/l"... 47
sshd 3331 "/etc/l"... 47
sshd 3331 "/etc/l"... 47
sshd 3331 "/etc/l"... 47
sshd 3331 "/etc/l"... 47
sshd 3331 "/dev/p"... 47
sshd 3331 "/dev/p"... 47
sshd 3331 "/dev/p"... 47
sshd 3333 <unknown 0
[...]

------- Additional Comment #3 From Masami Hiramatsu 2008-04-03 21:56 -------
Created an attachment (id=2351)
update testsuite/conversions.exp

Hi,

I've gotten below errors with latest snapshot.
---
Running /usr/share/systemtap/testsuite/systemtap.stress/conversions.exp ...
FAIL: conversions.stp 0 (8)
FAIL: conversions.stp 0xffffffff (8)
FAIL: conversions.stp 0xffffffffffffffff (8)
---

This patch updates testsuite/systemtap.stress/conversions.exp to catch up
recently changes of conversions.stp.

Thanks,

------- Additional Comment #4 From Frank Ch. Eigler 2008-04-03 22:10 -------
Thanks, Masami, please commit.

     Query page      Enter new bug
Actions: New | Query | bug # | Reports | Requests   New Account | Log In