https://bugs.kde.org/show_bug.cgi?id=464103
Bug ID: 464103 Summary: Enhancement: add a client request to DHAT to mark memory to be histogrammed Classification: Developer tools Product: valgrind Version: 3.21 GIT Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: dhat Assignee: jsew...@acm.org Reporter: pjfl...@wanadoo.fr Target Milestone: --- I often get DHAT results that refer to data structures larger than the default 1024 byte limit. One fix is to recompile DHAT with a higher limit. It would be nice to also have a client request, so that the guest code could be instrumented. The flow woule be then 1. Do a normal DHAT run to identify heap hotspots 2. If some are larger than 1K then instrument: struct Foo *foo = malloc(sizeof(struct Foo)); DHAT_HISTOGRAM_MEMORY(foo, sizeof(struct Foo)); 3. Recompile guest and rerun -- You are receiving this mail because: You are watching all bug changes.