[PATCH] D28333: Improved ASAN allocator and quarantine stats.
Aleksey Shlyapnikov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 17:15:44 PST 2017
alekseyshl added inline comments.
================
Comment at: lib/asan/asan_memory_profile.cc:60
+ "%zd bytes in %zd chunks; %zd other chunks; total chunks: %zd; "
+ "showing top %zd%%\n",
+ total_allocated_user_size_, total_allocated_count_,
----------------
eugenis wrote:
> Maybe add overhead stats, in bytes or percentage, either total or per allocation id.
But only the sanitizer_allocator_* knows the actual memory size the particular chunk is using and it already can be estimated from allocator's PrintStat output, user memory / rss for each bucket.
https://reviews.llvm.org/D28333
More information about the llvm-commits
mailing list