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

Unified Diff: src/log.h

Issue 39009: Dump more stack frames to perf log when executing a C++ function. (Closed)
Patch Set: Changes according to Soren's comments Created 11 years, 10 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
« no previous file with comments | « src/frames-inl.h ('k') | src/log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log.h
diff --git a/src/log.h b/src/log.h
index aceb282c6a88885c68535c3ed7c28ef57b473369..03009b43ede2c3c410ae150d040a6add35932869 100644
--- a/src/log.h
+++ b/src/log.h
@@ -279,6 +279,9 @@ class StackTracer BASE_EMBEDDED {
: low_stack_bound_(low_stack_bound) { }
void Trace(TickSample* sample);
private:
+ // Maximum number of stack frames to capture
+ static const int kMaxStackFrames = 5;
+
unsigned int low_stack_bound_;
};
« no previous file with comments | « src/frames-inl.h ('k') | src/log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698