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

Unified Diff: base/trace_event/heap_profiler_allocation_context_tracker.h

Issue 2777343003: [memory-infra] Add api to enable heap profiling in MemoryDumpManager
Patch Set: nits. 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
« no previous file with comments | « no previous file | base/trace_event/heap_profiler_allocation_context_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/heap_profiler_allocation_context_tracker.h
diff --git a/base/trace_event/heap_profiler_allocation_context_tracker.h b/base/trace_event/heap_profiler_allocation_context_tracker.h
index 4f2a8c95026ac611350763ea4df674f8bd60c743..e6cce3a2c8cc61a39c42b00a643eaa6a1fe3307d 100644
--- a/base/trace_event/heap_profiler_allocation_context_tracker.h
+++ b/base/trace_event/heap_profiler_allocation_context_tracker.h
@@ -23,10 +23,11 @@ namespace trace_event {
// details.
class BASE_EXPORT AllocationContextTracker {
public:
- enum class CaptureMode: int32_t {
- DISABLED, // Don't capture anything
- PSEUDO_STACK, // GetContextSnapshot() returns pseudo stack trace
- NATIVE_STACK // GetContextSnapshot() returns native (real) stack trace
+ enum class CaptureMode : int32_t {
+ DISABLED, // Don't capture anything
+ PSEUDO_STACK, // GetContextSnapshot() returns pseudo stack trace
+ NATIVE_STACK, // GetContextSnapshot() returns native (real) stack trace
+ BACKGROUND, // GetContextSnapshot() returns thread names and task contexts.
};
// Stack frame constructed from trace events in codebase.
« no previous file with comments | « no previous file | base/trace_event/heap_profiler_allocation_context_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698