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

Unified Diff: src/log-utils.h

Issue 3831002: Support profiling based on linux kernel performance events. (Closed)
Patch Set: More fixes Created 10 years, 2 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/log.cc ('k') | src/log-utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/log-utils.h
diff --git a/src/log-utils.h b/src/log-utils.h
index a4dde213bf46305fc72046edad23b142c89b7f94..ffea9282cbac225499b2c8fb186b4c6a00f73639 100644
--- a/src/log-utils.h
+++ b/src/log-utils.h
@@ -152,6 +152,9 @@ class Log : public AllStatic {
// mutex_ should be acquired before using output_handle_ or output_buffer_.
static FILE* output_handle_;
+ // Used when low-level profiling is active to save code object contents.
+ static FILE* output_code_handle_;
+
static LogDynamicBuffer* output_buffer_;
// Size of dynamic buffer block (and dynamic buffer initial size).
@@ -171,6 +174,7 @@ class Log : public AllStatic {
// mutex_ should be acquired before using it.
static char* message_buffer_;
+ friend class Logger;
friend class LogMessageBuilder;
friend class LogRecordCompressor;
};
« no previous file with comments | « src/log.cc ('k') | src/log-utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698