|
[tracing] Simplify MemoryDumpProvider interface
- Rename DumpInto(PMD*) into OnMemoryDump(PMD*)
- Make the MemoryDumpProvider interface pure abstract.
- Move the task_runner argument to MDM.RegisterDumpProvider().
- Remove the awkward DeclareAttribute() logic
- Rename the useless MemoryDumpProvider.GetFriendlyName() method.
- Adapt the existing allocators dump providers to the changes.
BUG= 466141
Committed: https://crrev.com/2d56df1b08b8c8439315efc3f6af2dc053db16a0
Cr-Commit-Position: refs/heads/master@{#327257}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+147 lines, -275 lines) |
Patch |
 |
M |
base/trace_event/BUILD.gn
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/trace_event/java_heap_dump_provider_android.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/java_heap_dump_provider_android.cc
|
View
|
|
3 chunks |
+1 line, -6 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/malloc_dump_provider.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/malloc_dump_provider.cc
|
View
|
|
3 chunks |
+1 line, -11 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/memory_allocator_dump_unittest.cc
|
View
|
|
3 chunks |
+2 lines, -17 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/memory_dump_manager.h
|
View
|
|
5 chunks |
+21 lines, -11 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/memory_dump_manager.cc
|
View
|
1
|
7 chunks |
+55 lines, -43 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/memory_dump_manager_unittest.cc
|
View
|
|
7 chunks |
+43 lines, -73 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/memory_dump_provider.h
|
View
|
1
|
2 chunks |
+8 lines, -41 lines |
0 comments
|
Download
|
 |
D |
base/trace_event/memory_dump_provider.cc
|
View
|
|
1 chunk |
+0 lines, -32 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/process_memory_maps_dump_provider.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/process_memory_maps_dump_provider.cc
|
View
|
|
3 chunks |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/process_memory_maps_dump_provider_unittest.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/process_memory_totals_dump_provider.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/process_memory_totals_dump_provider.cc
|
View
|
|
3 chunks |
+1 line, -7 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/process_memory_totals_dump_provider_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/trace_event.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
base/trace_event/winheap_dump_provider_win.h
|
View
|
1
|
1 chunk |
+1 line, -2 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/winheap_dump_provider_win.cc
|
View
|
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
base/trace_event/winheap_dump_provider_win_unittest.cc
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
Total messages: 12 (5 generated)
|