summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_common_libcdep.cc
diff options
context:
space:
mode:
authorKostya Serebryany <kcc@google.com>2017-03-15 23:27:14 +0000
committerKostya Serebryany <kcc@google.com>2017-03-15 23:27:14 +0000
commitae48dbe3d85b92abbaf4e3c2fb35f47298c5d70c (patch)
tree19de4789d58a4266ddafc58c85e9949785ce9166 /lib/sanitizer_common/sanitizer_common_libcdep.cc
parent17eb0acd661cd9f371fe9599213e8d7848cc7690 (diff)
[asan] add one more argument to __sanitizer_print_memory_profile, remove a redundant weak definition.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@297914 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_common_libcdep.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_common_libcdep.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sanitizer_common/sanitizer_common_libcdep.cc b/lib/sanitizer_common/sanitizer_common_libcdep.cc
index e96db6dd6..430318863 100644
--- a/lib/sanitizer_common/sanitizer_common_libcdep.cc
+++ b/lib/sanitizer_common/sanitizer_common_libcdep.cc
@@ -123,7 +123,7 @@ void BackgroundThread(void *arg) {
if (heap_profile &&
current_rss_mb > rss_during_last_reported_profile * 1.1) {
Printf("\n\nHEAP PROFILE at RSS %zdMb\n", current_rss_mb);
- __sanitizer_print_memory_profile(90);
+ __sanitizer_print_memory_profile(90, 20);
rss_during_last_reported_profile = current_rss_mb;
}
}