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

Unified Diff: base/trace_event/malloc_dump_provider.h

Issue 2572593002: [counting_allocator] Chrome changes.
Patch Set: Surface max_size; instrument flat_set. 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 | « base/trace_event/heap_profiler_allocation_register.h ('k') | base/trace_event/malloc_dump_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/trace_event/malloc_dump_provider.h
diff --git a/base/trace_event/malloc_dump_provider.h b/base/trace_event/malloc_dump_provider.h
index 384033c9b82abc55125405e9a29ede7aa9597c08..c2e7a65d7b7662efb27860169a96f28eb22a9be5 100644
--- a/base/trace_event/malloc_dump_provider.h
+++ b/base/trace_event/malloc_dump_provider.h
@@ -41,7 +41,7 @@ class BASE_EXPORT MallocDumpProvider : public MemoryDumpProvider {
void OnHeapProfilingEnabled(bool enabled) override;
// For heap profiling.
- void InsertAllocation(void* address, size_t size);
+ void InsertAllocation(void* address, size_t size, const char* tag = nullptr);
void RemoveAllocation(void* address);
private:
« no previous file with comments | « base/trace_event/heap_profiler_allocation_register.h ('k') | base/trace_event/malloc_dump_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698