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

Unified Diff: base/trace_event/trace_log.h

Issue 1837013003: [tracing] Add support for profiling trace events (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ipc_trace
Patch Set: nits. Created 4 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
« no previous file with comments | « base/trace_event/trace_event.h ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/trace_log.h
diff --git a/base/trace_event/trace_log.h b/base/trace_event/trace_log.h
index 67477c43f22f430dac1776f53af1f38d76e87a92..e715a52e9706dacb22366b477cd791da9f9fc6a9 100644
--- a/base/trace_event/trace_log.h
+++ b/base/trace_event/trace_log.h
@@ -60,7 +60,13 @@ class BASE_EXPORT TraceLog : public MemoryDumpProvider {
// Category group enabled by SetEventCallbackEnabled().
ENABLED_FOR_EVENT_CALLBACK = 1 << 2,
// Category group enabled to export events to ETW.
- ENABLED_FOR_ETW_EXPORT = 1 << 3
+ ENABLED_FOR_ETW_EXPORT = 1 << 3,
+ // Category group enabled for heap profiling.
+ ENABLED_FOR_HEAP_PROFILING = 1 << 4,
fmeawad 2016/04/01 15:54:46 nit: maybe ENABLED_FOR_PROFILING, the name should
+ // Enabled for any of the non-profiling modes.
+ ENABLED_FOR_NON_PROFILING_MODE = ENABLED_FOR_RECORDING |
fmeawad 2016/04/01 15:54:46 nit: maybe ENABLED_FOR_TRACING
+ ENABLED_FOR_EVENT_CALLBACK |
+ ENABLED_FOR_ETW_EXPORT
};
static TraceLog* GetInstance();
« no previous file with comments | « base/trace_event/trace_event.h ('k') | base/trace_event/trace_log.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698