Hey Benoit,

Can you send me (in private mail) the output of your command adding -x  
debug? Also, have you tried fully specifying the library as libc.so.1?  
Thanks.

Adam

On Oct 23, 2008, at 8:15 AM, benoit wrote:

> Hi all;
>
> The following script works well with dtrace 1.1 but return the  
> following error with dtrace 1.3
>
> dtrace: failed to compile script log-memory.d: line 3: probe  
> description pid25659:libc:malloc:entry does not match any probes
>
> Thanks for any suggestion.
> -benoit
>
>
> #!/usr/sbin/dtrace -s
>
> pid$1:libc:malloc:
> entry{
>         self->trace = 1;        self->size = arg0;
> }
>
> pid$1:libc:malloc:return
> /self->trace == 1 && self->size > $2/
> {
>         printf("Ptr=0x%p Size=%d TS=%d AllocTime=%Y", arg1, self- 
> >size, timestamp, walltimestamp);
>         ustack();
>         self->trace = 0;
>         self->size = 0;
>     allocated[arg1] = 1;
> }
>
>
> _______________________________________________
> 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