Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(464)

Unified Diff: chrome/browser/chromeos/libc_close_tracking.cc

Issue 2757123002: Cleaner fall-back stack capture for --enable-heap-profiling=native. (Closed)
Patch Set: Fix OS_NACL Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/chromeos/libc_close_tracking.cc
diff --git a/chrome/browser/chromeos/libc_close_tracking.cc b/chrome/browser/chromeos/libc_close_tracking.cc
index 260a116b5a2e664ed3e7064d42af3ccc765f6882..405b8844031490680a3df8304543d1cc5c5d67bb 100644
--- a/chrome/browser/chromeos/libc_close_tracking.cc
+++ b/chrome/browser/chromeos/libc_close_tracking.cc
@@ -119,7 +119,7 @@ int CloseOverride(int fd) {
// Capture stack for successful close.
if (ret == 0) {
-#if HAVE_TRACE_STACK_FRAME_POINTERS && !defined(MEMORY_SANITIZER)
+#if HAVE_TRACE_STACK_FRAME_POINTERS() && !defined(MEMORY_SANITIZER)
// Use TraceStackFramePointers because the backtrack() based default
// capturing gets only the last stack frame and is not useful.
// With the exception of when MSAN is enabled. See comments for why
« base/trace_event/memory_dump_manager.cc ('K') | « base/trace_event/memory_dump_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698