[Bug tapsets/4592] access to $bio ioblock.request probe in ioblock.stp fails

wcohen at redhat dot com sourceware-bugzilla@sourceware.org
Mon Jun 4 20:53:00 GMT 2007


------- Additional Comments From wcohen at redhat dot com  2007-06-04 20:52 -------
The following probe show $bio as being zero, need to determine whether this is
due to faulty debuginfo or bad code generated for accessing function arguments.

#! stap
global teststr
probe begin { log("systemtap starting probe") }

probe end { 
   log("systemtap ending probe")
   printf("%s", teststr)
}


probe kernel.function ("generic_make_request")
{
   printf ("bio = %p \n", $bio);
}


$ ../../install/bin/stap -k /tmp/ioblocktest2.stp 
systemtap starting probe
bio = 0x0000000000000000 
bio = 0x0000000000000000 
bio = 0x0000000000000000 
...



-- 


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

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



More information about the Systemtap mailing list