Can I use the dots also to ignore some functions that are intermediate stack entries?
Yes.
How are the function names generated?
They are mangled function names, as generated by the compiler; they contain the namespace and/or class scope, the function name, and the arguments. You can use c++filt
to demangle them.
to me it looks like either _Znjw or _ZN3tsd is the name for main?
_Znjw
is operator new(unsigned)
. _ZN3tsd
is the prefix for things in namespace tsd
.
Can you help me where to find documentation to the above questions?
Valgrind suppression files are documented here. The GNU mangling format doesn't seem to be officially documented; use Google and take whatever you find with a pinch of salt (assuming you don't want to trawl through the compiler source to see how the names are generated).