-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I can see shared modules tracing points using "dtrace -l -n pidXX:::entry", but I can''t trace them. For example: """ [root at tesalia z]# dtrace -l -n pid11589:::entry | grep libresolv | wc -l 603 [root at tesalia z]# cat z.d pid$1:libresolv::entry { } pid$1:libresolv::return { } [root at tesalia z]# dtrace -s z.d 11589 dtrace: failed to compile script z.d: line 1: probe description pid11589:libresolv::entry does not match any probes """ Any clue welcomed. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea at argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRxYE+plgi5GaxT1NAQJYEwP+PGJZg4w1Ssv5Zemz7B6KCxzmC9ZUjvz5 poW6kTCo9ZSF4LeOePrIVe0vHdPfQvjKgPx4lY3JFmlvYlSPCi7Wc8XoP9hUcJSc 5M1LPNEktvZatzyLXm8Udtr3iTOMYjdfBnDtlj1EaFiIprggYAMTbgJq7h0bN+yw cp6mRD9+jjY=AZOY -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jesus Cea wrote:> Any clue welcomed.It seems to work fine if I add the "-p" parameter: ... -p grab specified process-ID and cache its symbol tables ... So, you must add the "-p" option if you use pid provider :-?? - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ jcea at argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQCVAwUBRxYIZ5lgi5GaxT1NAQJ2zQQAn5b/oQo7l7Cnknzjj4da20UZI6xGGI7d cIq2m2AorrH1cqjMCr1f6npfdvTln+LSFcZPpjAbcspZ8Kj2wR7sNkNTjeXP+qlz ViYv4WcILT4uJ79qoWoZdXHDZL1YliaxcwW3qRf3+P/iwz0w+g7N+PIwiMFafJlf 5ht8XZkBMOc=2JwS -----END PGP SIGNATURE-----
Hi Jesus, If using the -p option solves the problem for you, you may be hitting a situation in which the library is dynamically loaded. If you''re using -p in that case, the dtrace(1M) command will monitor the process and attempt to rematch any new probes that come along when shared objects are dynamically loaded (e.g. via dlopen(3dl)). The same -- of course -- applies for the -c option. Adam On Wed, Oct 17, 2007 at 03:04:39PM +0200, Jesus Cea wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jesus Cea wrote: > > Any clue welcomed. > > It seems to work fine if I add the "-p" parameter: > > ... > -p grab specified process-ID and cache its symbol tables > ... > > So, you must add the "-p" option if you use pid provider :-?? > > - -- > Jesus Cea Avion _/_/ _/_/_/ _/_/_/ > jcea at argo.es http://www.argo.es/~jcea/ _/_/ _/_/ _/_/ _/_/ _/_/ > jabber / xmpp:jcea at jabber.org _/_/ _/_/ _/_/_/_/_/ > _/_/ _/_/ _/_/ _/_/ _/_/ > "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ > "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ > "El amor es poner tu felicidad en la felicidad de otro" - Leibniz > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iQCVAwUBRxYIZ5lgi5GaxT1NAQJ2zQQAn5b/oQo7l7Cnknzjj4da20UZI6xGGI7d > cIq2m2AorrH1cqjMCr1f6npfdvTln+LSFcZPpjAbcspZ8Kj2wR7sNkNTjeXP+qlz > ViYv4WcILT4uJ79qoWoZdXHDZL1YliaxcwW3qRf3+P/iwz0w+g7N+PIwiMFafJlf > 5ht8XZkBMOc> =2JwS > -----END PGP SIGNATURE----- > _______________________________________________ > dtrace-discuss mailing list > dtrace-discuss at opensolaris.org-- Adam Leventhal, FishWorks http://blogs.sun.com/ahl