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

Unified Diff: base/trace_event/heap_profiler_allocation_context_tracker.h

Issue 1846333002: Revert of [tracing] Adding task information to heap profiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
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 e70185d1ba3add70a0419f71c88bb84fbfebc023..5d32c64952266475fcb440476febf208f618a39f 100644
--- a/base/trace_event/heap_profiler_allocation_context_tracker.h
+++ b/base/trace_event/heap_profiler_allocation_context_tracker.h
@@ -58,11 +58,6 @@
// Pops a frame from the thread-local pseudo stack.
void PopPseudoStackFrame(StackFrame frame);
- // Push and pop current task's context. A stack is used to support nested
- // tasks and the top of the stack will be used in allocation context.
- void PushCurrentTaskContext(const char* context);
- void PopCurrentTaskContext(const char* context);
-
// Returns a snapshot of the current thread-local context.
AllocationContext GetContextSnapshot();
@@ -79,10 +74,6 @@
// The thread name is used as the first entry in the pseudo stack.
const char* thread_name_;
- // Stack of tasks' contexts. Context serves as a different dimension than
- // pseudo stack to cluster allocations.
- std::vector<const char*> task_contexts_;
-
DISALLOW_COPY_AND_ASSIGN(AllocationContextTracker);
};
« no previous file with comments | « base/trace_event/common/trace_event_common.h ('k') | base/trace_event/heap_profiler_allocation_context_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698