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

Issue 2839733004: Fill in PlatformPrivateFootprint on Linux (Closed)

Created:
3 years, 8 months ago by hjd
Modified:
3 years, 7 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, danakj+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Fill in PlatformPrivateFootprint on Linux 1/2 This CL populates the rss_anon_bytes field of the PlatformPrivateFootprint struct on Linux. The struct contains platform specific numbers that will be used by the memory-infra service to compute the private memory footprint of the process. BUG=707019 Review-Url: https://codereview.chromium.org/2839733004 Cr-Commit-Position: refs/heads/master@{#469968} Committed: https://chromium.googlesource.com/chromium/src/+/90e0440fbcc073544c8645595268e641ad8e51a5

Patch Set 1 #

Patch Set 2 : update for parent patch changes #

Total comments: 1

Patch Set 3 : rebase #

Patch Set 4 : update #

Patch Set 5 : re add removed line #

Patch Set 6 : address comments #

Total comments: 12

Patch Set 7 : address comments #

Patch Set 8 : remove extra } #

Total comments: 4

Patch Set 9 : rebase #

Patch Set 10 : address comments #

Patch Set 11 : rebase #

Patch Set 12 : move code behind defines #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -17 lines) Patch
M base/trace_event/process_memory_totals.h View 1 2 3 4 5 6 7 8 1 chunk +0 lines, -1 line 0 comments Download
M components/tracing/common/process_metrics_memory_dump_provider.h View 1 2 3 4 5 1 chunk +2 lines, -0 lines 0 comments Download
M components/tracing/common/process_metrics_memory_dump_provider.cc View 1 2 3 4 5 6 7 8 9 10 11 3 chunks +52 lines, -16 lines 0 comments Download

Messages

Total messages: 29 (14 generated)
hjd
So to a first approximation we want something like this?
3 years, 8 months ago (2017-04-25 11:16:15 UTC) #2
hjd
ptal, thanks! https://codereview.chromium.org/2839733004/diff/20001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2839733004/diff/20001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode636 components/tracing/common/process_metrics_memory_dump_provider.cc:636: #if defined(OS_LINUX) I need to try this ...
3 years, 8 months ago (2017-04-26 14:24:15 UTC) #3
hjd
ptal, thanks!
3 years, 8 months ago (2017-04-26 14:24:15 UTC) #4
Primiano Tucci (use gerrit)
Thanks for being so proactive! can you plz do everything just in ProcessMetricsMemoryDumpProvider? Bunch of ...
3 years, 8 months ago (2017-04-26 15:09:38 UTC) #6
hjd
On 2017/04/26 15:09:38, Primiano Tucci wrote: > Thanks for being so proactive! > can you ...
3 years, 7 months ago (2017-05-02 15:37:33 UTC) #7
Primiano Tucci (use gerrit)
Had a chat offline, statm is a bit tricky as we use it for fast ...
3 years, 7 months ago (2017-05-03 10:33:47 UTC) #8
hjd
updated, thanks!
3 years, 7 months ago (2017-05-03 11:21:12 UTC) #9
Primiano Tucci (use gerrit)
https://codereview.chromium.org/2839733004/diff/100001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2839733004/diff/100001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode640 components/tracing/common/process_metrics_memory_dump_provider.cc:640: base::trace_event::ProcessMemoryTotals::PlatformPrivateFootprint& footprint = const auto& footprint = ...? https://codereview.chromium.org/2839733004/diff/100001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode649 ...
3 years, 7 months ago (2017-05-03 19:21:22 UTC) #11
hjd
Updated, thanks! https://codereview.chromium.org/2839733004/diff/100001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2839733004/diff/100001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode640 components/tracing/common/process_metrics_memory_dump_provider.cc:640: base::trace_event::ProcessMemoryTotals::PlatformPrivateFootprint& footprint = On 2017/05/03 19:21:21, Primiano ...
3 years, 7 months ago (2017-05-04 10:46:36 UTC) #12
Primiano Tucci (use gerrit)
thanks LGTM https://codereview.chromium.org/2839733004/diff/140001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2839733004/diff/140001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode730 components/tracing/common/process_metrics_memory_dump_provider.cc:730: uint64_t rss_pages = 0; at this point ...
3 years, 7 months ago (2017-05-04 11:11:17 UTC) #13
hjd
Updated https://codereview.chromium.org/2839733004/diff/140001/components/tracing/common/process_metrics_memory_dump_provider.cc File components/tracing/common/process_metrics_memory_dump_provider.cc (right): https://codereview.chromium.org/2839733004/diff/140001/components/tracing/common/process_metrics_memory_dump_provider.cc#newcode730 components/tracing/common/process_metrics_memory_dump_provider.cc:730: uint64_t rss_pages = 0; On 2017/05/04 11:11:16, Primiano ...
3 years, 7 months ago (2017-05-05 14:59:36 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2839733004/180001
3 years, 7 months ago (2017-05-05 16:18:36 UTC) #17
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/411846)
3 years, 7 months ago (2017-05-05 16:38:17 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2839733004/220001
3 years, 7 months ago (2017-05-08 12:56:38 UTC) #26
commit-bot: I haz the power
3 years, 7 months ago (2017-05-08 13:00:48 UTC) #29
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://chromium.googlesource.com/chromium/src/+/90e0440fbcc073544c8645595268...

Powered by Google App Engine
This is Rietveld 408576698