DescriptionReland: add dump provider for malloc heap profiler (https://codereview.chromium.org/1675183006/)
Reason for reland:
the previous CL forgot about the fact that nacl has its own special
base target (base_nacl) which is a fork of the real base one.
That caused a revert in crrev.com/1822013002 because:
- The original CL introduced a dependency from a translation unit in
base (malloc_dump_provider.cc) to allocator_features.h, which is a
generated header.
- The original CL was relying on the fact that there is an existing
dependency from base to allocator_features declared in base.gyp.
- The original CL forgot about the need of the same dependency from
base_nacl.
This cl is fixing the latter point.
Original breakage:
https://build.chromium.org/p/chromium.chrome/builders/Google%20Chrome%20Mac/builds/8808
Original issue's description:
> tracing: add dump provider for malloc heap profiler
>
> Now that the allocator shim is landing (the base API landed in
> crre.com/1675143004, Linux support in crrev.com/1781573002) we
> can use that to implement the malloc heap profiler on top of that.
> This CL leverages the new shim API to collect information about
> malloc/free and injecting that into the heap profiler, leveraging
> the same infrastructure we are already using for PartitionAlloc
> and BlinkGC (oilpan).
>
> Next steps
> ----------
> Currently this heap profiler reports also the memory used by the
> tracing subsystem itself, which is not desirable. Will come up
> with some scoped suppression semantic to bypass the reporting.
>
> BUG=550886
> TBR=haraken
>
> Committed: https://crrev.com/14c8b52dac1285bbf23514d05e6109aa7edc427f
> Cr-Commit-Position: refs/heads/master@{#382505}
BUG=550886, 596873
TBR=ssid@chromium.org,petrcermak@chromium.org,dskiba@google.com,haraken@chromium.org
Committed: https://crrev.com/fd907216bc422c737219832038e5fc0a5fb66488
Cr-Commit-Position: refs/heads/master@{#383225}
Patch Set 1 : Original CL #Patch Set 2 : Diff from original cl #
Total comments: 2
Messages
Total messages: 16 (7 generated)
|