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

Issue 19466005: Adding extended report to memdump with resident pages bit reporting. (Closed)

Created:
7 years, 5 months ago by Primiano Tucci (use gerrit)
Modified:
3 years, 11 months ago
Reviewers:
bulach, Philippe, pliard, digit1
CC:
chromium-reviews, craigdh+watch_chromium.org, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, frankf+watch_chromium.org, bulach, Torne
Visibility:
Public.

Description

Adding extended report to memdump with resident pages bit reporting. This change introduces a new switch (-x) which causes memdump to add, to each mapping printed out, a bitmap containing resident bit information for the mapping. This extended report can be processed by the memsymbols.py script, part of this CL. The aim of memsymbols.py is to extract the list of symbols, for a given library mapped in the analyzed process, which was resident in memory at a given point in time (when the memdump snapshot was taken). NOTRY=true Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=213363

Patch Set 1 #

Total comments: 46

Patch Set 2 : Addressing nits. #

Total comments: 12

Patch Set 3 : Addressing bulach@ nits. #

Total comments: 4

Patch Set 4 : Addressing pliard@ nits #

Patch Set 5 : Copyright nit #

Unified diffs Side-by-side diffs Delta from patch set Stats (+234 lines, -9 lines) Patch
M tools/android/memdump/memdump.cc View 1 2 3 11 chunks +82 lines, -9 lines 0 comments Download
A tools/android/memdump/memsymbols.py View 1 2 3 4 1 chunk +152 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Primiano Tucci (use gerrit)
7 years, 5 months ago (2013-07-22 06:20:37 UTC) #1
Philippe
Thanks Primiano, this is really cool! I look forward to seeing your findings with this ...
7 years, 5 months ago (2013-07-22 09:20:54 UTC) #2
bulach
good stuff! some suggestion on top of phillippe's: https://codereview.chromium.org/19466005/diff/1/tools/android/memdump/memdump.cc File tools/android/memdump/memdump.cc (right): https://codereview.chromium.org/19466005/diff/1/tools/android/memdump/memdump.cc#newcode34 tools/android/memdump/memdump.cc:34: class ...
7 years, 5 months ago (2013-07-22 12:59:39 UTC) #3
digit1
https://codereview.chromium.org/19466005/diff/1/tools/android/memdump/memdump.cc File tools/android/memdump/memdump.cc (right): https://codereview.chromium.org/19466005/diff/1/tools/android/memdump/memdump.cc#newcode34 tools/android/memdump/memdump.cc:34: class BitSet { On 2013/07/22 12:59:39, bulach wrote: > ...
7 years, 5 months ago (2013-07-22 21:03:14 UTC) #4
Primiano Tucci (use gerrit)
Thanks all for the great comments. Apologies for all the nits, I'm still a bit ...
7 years, 5 months ago (2013-07-22 23:22:35 UTC) #5
bulach
lgtm, good stuff! looking forward to see the results! just some nits and suggestions, feel ...
7 years, 5 months ago (2013-07-23 08:10:57 UTC) #6
Primiano Tucci (use gerrit)
https://codereview.chromium.org/19466005/diff/7001/tools/android/memdump/memdump.cc File tools/android/memdump/memdump.cc (right): https://codereview.chromium.org/19466005/diff/7001/tools/android/memdump/memdump.cc#newcode38 tools/android/memdump/memdump.cc:38: void resize(int nbits) { On 2013/07/23 08:10:58, bulach wrote: ...
7 years, 5 months ago (2013-07-23 08:53:59 UTC) #7
pliard
Last nits on my side :) https://codereview.chromium.org/19466005/diff/1/tools/android/memdump/memsymbols.py File tools/android/memdump/memsymbols.py (right): https://codereview.chromium.org/19466005/diff/1/tools/android/memdump/memsymbols.py#newcode62 tools/android/memdump/memsymbols.py:62: memdump_fh = open(memdump_file, ...
7 years, 5 months ago (2013-07-23 09:08:16 UTC) #8
Primiano Tucci (use gerrit)
https://codereview.chromium.org/19466005/diff/13001/tools/android/memdump/memdump.cc File tools/android/memdump/memdump.cc (right): https://codereview.chromium.org/19466005/diff/13001/tools/android/memdump/memdump.cc#newcode36 tools/android/memdump/memdump.cc:36: BitSet() : data_(0) {} On 2013/07/23 09:08:22, pliard wrote: ...
7 years, 5 months ago (2013-07-23 22:00:17 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/19466005/19001
7 years, 5 months ago (2013-07-23 22:04:02 UTC) #10
commit-bot: I haz the power
Retried try job too often on chromium_presubmit for step(s) presubmit http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=chromium_presubmit&number=16761
7 years, 5 months ago (2013-07-23 22:37:06 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/primiano@chromium.org/19466005/28001
7 years, 5 months ago (2013-07-24 06:54:41 UTC) #12
commit-bot: I haz the power
7 years, 5 months ago (2013-07-24 07:17:40 UTC) #13
Message was sent while issue was closed.
Change committed as 213363

Powered by Google App Engine
This is Rietveld 408576698