|
From: Nicholas N. <nj...@ca...> - 2004-07-14 16:09:53
|
On Wed, 14 Jul 2004 fa...@ca... wrote: >> in the postscript output, don"t chop function names so much. >> It"s okay in C, but terrible in C++. Several of my biggest >> memory users are of the form "x81161ECD:MySillyClassNa", >> which is too vague for my purposes :) > > I agree with this. It's bug #82871: bugs.kde.org/show_bug.cgi?id=82871 > One easy solution is to change the string-length (ms_main.c, line 1424: > "16"), but this "squishes" the plot and may not help that much. > > Anyone have a better idea? Some truncation seems unavoidable, since C++ names can be 100+ characters, when templates are heavily used. I thought of having a command line argument to specify the truncation length, but that's pretty ugly. Also, large values do squeeze the plot a lot; that seems to be the way hp2ps (which was grabbed for Valgrind from elsewhere) works -- it wasn't designed for C++ :) So I don't have a good solution for this. N |