http://blogs.sun.com/bmc/entry/dtrace_on_rails
pid$1::mysql_send_query:entry
/self->uri != NULL/
{
        printf("%3d.%03d   -> \"%s\"\n", (timestamp -
start) / 1000000000,
            ((timestamp - start) / 1000000) % 1000,
            copyinstr(self->query = arg1));
}
pid$1::mysql_send_query:return
/self->query != NULL/
{
        printf("%3d.%03d   <- \"%s\"\n", (timestamp -
start) / 1000000000,
            ((timestamp - start) / 1000000) % 1000,
            copyinstr(self->query));
        self->query = NULL;
}
It seems this is not working anymore. At least it is not producing any error
message or output. Do we know why?
Running on opensolaris 2009.06, ruby 1.8.7 -p72 , mysql5.1
-- 
This message posted from opensolaris.org