Hi, > fbt::strcpy:entry [...] > fbt::strcpy:return [...] > the strcpy commnad is only called once in the program
You are using probes in kernel function "strcpy" and you are running
userland program using strcpy(3C) function. These two do not have
anything in common.
Maybe you would want to use pid provider?
dtrace -n 'pid$target::strcpy:entry{ustack()}' -c pwd
dtrace: description 'pid$target::strcpy:entry' matched 2 probes
/home/vm156888
dtrace: pid 8982 has exited
CPU ID FUNCTION:NAME
1 73860 strcpy:entry
ld.so.1`strcpy
ld.so.1`expand+0x937
ld.so.1`expand_paths+0x139
ld.so.1`_elf_lookup_filtee+0x1a4
ld.so.1`elf_lookup_filtee+0x70
ld.so.1`elf_find_sym+0x26f
ld.so.1`core_lookup_sym+0x71
ld.so.1`_lookup_sym+0x263
ld.so.1`lookup_sym+0xf9
ld.so.1`elf_bndr+0x103
ld.so.1`elf_rtbndr+0x14
0xfeff0458
ld.so.1`rt_thr_init+0x35
ld.so.1`setup+0xfe7
ld.so.1`_setup+0x2e9
ld.so.1`_rt_boot+0x56
0x8046718
I'm sorry if I misunderstood your question.
--
Vlad
pgp4N1ZHQ4y0P.pgp
Description: PGP signature
_______________________________________________ dtrace-discuss mailing list [email protected]
