I try to profile functions provided by a shared library using sprof. The profiling works but the column containing the function names is very ugly formatted. I'm using for example the unordered_map provided by boost. The associated entry in the flat profile is:
Each sample counts as 0.01 seconds.
% cumulative self self total
time seconds seconds calls us/call us/call name
[...]
0.12 78.47 0.10 232327 0.43 _ZN5boost9unordered13unordered_mapIN4BALL6StringES3_NS_4hashIS3_EESt8equal_toIS3_ESaISt4pairIKS3_S3_EEEC1ERKSC_
[...]
I used the same commands as described in the sprof man page. I just changed the paths. The whole profile is difficult to read because one cannot see clearly the namespaces, class names, function names, etc.
I tried the small example of the sprof man page and it worked well.
Does anyone know why the name column is so ugly formatted here?