|
From: Josef W. <Jos...@gm...> - 2013-06-13 17:44:16
|
Hi Niall,
Am 13.06.2013 16:46, schrieb Niall Douglas:
> Basically, why are there single quotes (') everywhere and what does this
> mean?
This is callgrind-specific.
These symbol names are created if you ask Callgrind to provide
information at granularity of call chains. This should only happen
if you use the option "--separate-callers=xxx". The single quotes
actually are kind of separators and mean "called by". So the name
up to the first single quote is the function executed, and the
rest is the call chain.
I used single quotes as the chances are low that a language uses
single quotes as part of regular function names. E.g. most other
puncation characters can appear in C++ symbols.
However, KCachegrind does not yet parse the symbols as call
chains (since a long time, I plan to implement that for more
precise vizualization).
> FYI this is occurring if valgrinding a forked process child. If we don't
> fork, it doesn't happen.
I have no idea what this has to do with forking.
Is this reproducable with a small test case? Can you write a bug report
for that.
Cheers,
Josef
>
> Thanks,
> Niall
>
> ---
> Opinions expressed here are my own and do not necessarily represent those of
> BlackBerry Inc.
>
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Windows:
>
> Build for Windows Store.
>
> http://p.sf.net/sfu/windows-dev2dev
>
>
>
> _______________________________________________
> Valgrind-developers mailing list
> Val...@li...
> https://lists.sourceforge.net/lists/listinfo/valgrind-developers
>
|