|
|
Add out-of-process memory logging stream parsing.
This is the receiver end, it is not yet hooked up and there is no sending end yet.
The MemlogConnectionManager get the notifications of new pipe connections and hooks up the parser to it. The events go to a per-process MemlogAllocationTracker object to track all live memory allocations. This is currently just a simple map.
Stacks are de-duplicated across processes. This saves a little memory. This requires that individual stacks are refcounted and atomized. The StackStorage object tracks all globals stacks for this purpose.
Review-Url: https://codereview.chromium.org/2943733002
Cr-Commit-Position: refs/heads/master@{#480715}
Committed: https://chromium.googlesource.com/chromium/src/+/bd8214bfccde827f7a0e4c3683af8e4937b3d8d7
Total comments: 6
Total comments: 42
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+886 lines, -2 lines) |
Patch |
 |
M |
chrome/common/profiling/memlog_stream.h
|
View
|
1
2
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/profiling/BUILD.gn
|
View
|
1
2
3
|
1 chunk |
+13 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/profiling/README.md
|
View
|
|
1 chunk |
+7 lines, -2 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/address.h
|
View
|
1
2
3
|
1 chunk |
+67 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/allocation_tracker.h
|
View
|
1
2
3
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/allocation_tracker.cc
|
View
|
1
2
3
|
1 chunk |
+51 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/backtrace.h
|
View
|
1
2
3
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/backtrace.cc
|
View
|
1
2
3
4
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/backtrace_storage.h
|
View
|
1
2
3
|
1 chunk |
+52 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/backtrace_storage.cc
|
View
|
1
2
3
|
1 chunk |
+44 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/memlog_connection_manager.h
|
View
|
1
2
3
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/memlog_connection_manager.cc
|
View
|
1
|
1 chunk |
+93 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/memlog_receiver.h
|
View
|
1
2
3
|
1 chunk |
+31 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/memlog_receiver_pipe_server.h
|
View
|
1
|
1 chunk |
+14 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/memlog_stream_parser.h
|
View
|
1
2
3
|
1 chunk |
+68 lines, -0 lines |
0 comments
|
Download
|
 |
A |
chrome/profiling/memlog_stream_parser.cc
|
View
|
1
2
3
|
1 chunk |
+163 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/profiling/profiling_globals.h
|
View
|
1
2
3
|
3 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/profiling/profiling_globals.cc
|
View
|
1
2
3
|
1 chunk |
+8 lines, -0 lines |
0 comments
|
Download
|
Dependent Patchsets:
Total messages: 36 (19 generated)
|