Adriaan de Groot wrote:
> On Thursday 13 December 2007, John Sonnenschein wrote:
>> The fully qualified dtrace probe for this would be something like:
>> libstdcxx::__Z4swapIiEvRT_S1_:global-swap-TArg-TArg-entry
>>
>> which I find to be a lot nicer than
>> libstdcxx::__Z4swapIiEvRT_S1_:entry
> 
> Why not replace the mangled name with your decoding suggestion only? 
> 
> libstdcxx::global-swap-TArg-TArg:entry

as has been stated elsewhere, that's not possible (or so it seems at the 
moment); I'd suggest this:
libstdcxx:::global-swap-TArg-TArg-entry
(and the corresponding -return). Whatever the function name is can then be 
ignored. Would that work?

I'd find it *very* unlucky, and a hurdle to use of DTrace, if the mangled 
names had to be used.

regards
Michael
-- 
Michael Schuster
Recursion, n.: see 'Recursion'

Reply via email to