Have you confirmed that the return probe is firing?

Adam

On Oct 11, 2009, at 4:05 AM, tester wrote:

Hi,

I am bit confused about the following ustack with this script

pid $ target:libamapc2 .so:__1cDsmiKConnectionEread6MpcrI_nLam_status_t__:entry
{
  self->flag = 1;
}

pid $ target:libamapc2 .so:__1cDsmiKConnectionEread6MpcrI_nLam_status_t__:return
{
  self->flag = 0;
}

pid$target:libnspr4:PR_Recv:entry
/ self->flag == 1/
{
  self->flag = 2 ;
}

pid$target:::entry
/ self->flag == 2/
{
  @[ustack()] = count();
}

o/p
            httpd`http_port
             httpd`ap_run_default_port+0x6c
             httpd`ap_get_server_port+0xac
             httpd`ap_psignature+0x74
             httpd`ap_send_error_response+0x53c
             httpd`ap_die+0x3e0
             httpd`ap_process_request+0xd0
             httpd`ap_process_http_connection+0x8c
             httpd`ap_run_process_connection+0x70
             httpd`ap_process_connection+0x98
             httpd`process_socket+0xc4
             httpd`worker_thread+0x25c
             libapr-0.so.0`dummy_worker+0x48
             libc.so.1`_lwp_start

I was expecting all stacks to have __1cDsmiKConnectionEread6MpcrI_nLam_status_t__

Anything wrong?

Thanks
--
This message posted from opensolaris.org
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org


--
Adam Leventhal, Fishworks                        http://blogs.sun.com/ahl

_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to