mysql static probes demo

Mark Wielaard mjw@redhat.com
Mon Jan 26 20:03:00 GMT 2009


Hi Stan,

On Fri, 2009-01-23 at 15:29 -0500, Stan Cox wrote:
> Here is a demo of mysql being probed.

Wow, that is a really great demo!
What mysql source did you take and how did you configure/build it?

I did have some troubles with the new python wrapper to get postgres to
compile. I believe you should handle the creating of the output filename
differently when there has been no -o option given (and not add
extensions when it is given). I am attaching my local change.

Still trying to figure out how to actually enable the postgres probes
with the new runtime support though. All I am getting is:
        pattern '/usr/bin/postgres' matches module '/usr/bin/postgres'
        focused on module '/usr/bin/postgres = [0x8047000-0x841bb60,
        bias 0x0] file /usr/lib/debug/usr/bin/postgres.debug ELF machine
        i?86 (code 3)
        focused on module '/usr/bin/postgres'
        semantic error: no match while resolving probe point
        process("/usr/bin/postgres").statement(1869379436)
        dwarf_builder releasing user dwflpp /usr/bin/postgres
        semantic error: no probes found
Need to look into why.

Cheers,

Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dtrace.diff
Type: text/x-patch
Size: 1277 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/systemtap/attachments/20090126/ef566753/attachment.bin>


More information about the Systemtap mailing list