Re: [dtrace-discuss] Escaping Special Characters in probe description and fullpath of module

2010-12-29 Thread vasanth
Thanks Adam. Is there known list of other special characters which needs to be handled this way. Thanks Vasanth Hey Vasanth, Correct; I should have mentioned that use of the globbing character means that you could match other modules. As you say, using a predicate will protect you

Re: [dtrace-discuss] Escaping Special Characters in probe description and fullpath of module

2010-12-29 Thread Adam Leventhal
Hi Vasanth, You can find it in the libdtrace parser:   http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/lib/libdtrace/common/dt_lex.l#69 RGX_PSPEC [-$:a-zA-Z_.?*\\\[\]!][-$:0-9a-zA-Z_.`?*\\\[\]!]* That's an initial -$:a-zA-Z_.?*\[]! and then after that those same characters

Re: [dtrace-discuss] Escaping Special Characters in probe description and fullpath of module

2010-12-28 Thread Adam Leventhal
Hey Vasanth, Correct; I should have mentioned that use of the globbing character means that you could match other modules. As you say, using a predicate will protect you against erroneous matches. Adam On Dec 28, 2010, at 3:52 AM, vasanth wrote: Thanks Adam. That works. Does this

Re: [dtrace-discuss] Escaping Special Characters in probe description and fullpath of module

2010-12-27 Thread Adam Leventhal
Hey Vasanth, You might try something like this: pid1061:646?8859.so::entry { ... } You might then his a problem in the pid provider itself; let me know and we can work from there. Adam On Mon, Dec 27, 2010 at 6:35 AM, Vasanth Bhat vasa...@sun.com wrote: Hi,   Is there a escape