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

Issue 11316228: Make profiling=1 work for chromium-android (Closed)

Created:
8 years ago by eseidel
Modified:
8 years ago
CC:
chromium-reviews, Peter Beverloo, DaveMoore, jamesr, klobag.chromium
Base URL:
http://git.chromium.org/chromium/src.git@master
Visibility:
Public.

Description

Make profiling=1 work for chromium-android Currently if you set profiling=1 content_shell will load, it will just load to a white screen (and attempts to sample the binary with perf will not get proper stacks). This adds -mapcs and -marm per the AndroidPerf wiki docs. BUG=None Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=170249

Patch Set 1 #

Total comments: 2

Patch Set 2 : Updated per digit's request #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M build/common.gypi View 1 1 chunk +6 lines, -0 lines 0 comments Download
M skia/skia.gyp View 1 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (0 generated)
abarth-chromium
LGTM
8 years ago (2012-11-28 21:51:59 UTC) #1
abarth-chromium
Obviously we need someone who knows what they're doing to review this patch. :)
8 years ago (2012-11-28 21:52:14 UTC) #2
tony
LGTM2, would be nice to have a skia OWNER look too.
8 years ago (2012-11-28 21:53:54 UTC) #3
Nico
Link to the android perfwiki docs?
8 years ago (2012-11-28 21:55:09 UTC) #4
abarth-chromium
On 2012/11/28 21:55:09, Nico wrote: > Link to the android perfwiki docs? Unfortunately, it's still ...
8 years ago (2012-11-28 21:56:49 UTC) #5
eseidel
On 2012/11/28 21:56:49, abarth wrote: > On 2012/11/28 21:55:09, Nico wrote: > > Link to ...
8 years ago (2012-11-28 22:04:06 UTC) #6
Peter Beverloo
+digit as he knows next to everything about flags for Android. +tomhudson, as he's been ...
8 years ago (2012-11-28 22:05:15 UTC) #7
digit1
https://codereview.chromium.org/11316228/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11316228/diff/1/build/common.gypi#newcode2610 build/common.gypi:2610: '-mapcs', # Seems required for -fno-omit-frame-pointer Can I ask ...
8 years ago (2012-11-28 22:36:49 UTC) #8
eseidel
On 2012/11/28 22:36:49, digit1 wrote: > https://codereview.chromium.org/11316228/diff/1/build/common.gypi > File build/common.gypi (right): > > https://codereview.chromium.org/11316228/diff/1/build/common.gypi#newcode2610 > ...
8 years ago (2012-11-28 22:39:36 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/11316228/9002
8 years ago (2012-11-29 00:41:52 UTC) #10
commit-bot: I haz the power
Presubmit check for 11316228-9002 failed and returned exit status 1. Running presubmit commit checks ...
8 years ago (2012-11-29 00:41:58 UTC) #11
Nico
https://codereview.chromium.org/11316228/diff/1/build/common.gypi File build/common.gypi (right): https://codereview.chromium.org/11316228/diff/1/build/common.gypi#newcode2610 build/common.gypi:2610: '-mapcs', # Seems required for -fno-omit-frame-pointer On 2012/11/28 22:36:49, ...
8 years ago (2012-11-29 00:44:57 UTC) #12
Nico
lgtm Sorry, I don't get computers.
8 years ago (2012-11-29 00:47:08 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/11316228/9002
8 years ago (2012-11-29 00:52:48 UTC) #14
Tom Hudson
After-the-commit, but I don't even know what profiling=1 does, never needed to use it 6 ...
8 years ago (2012-11-29 10:56:24 UTC) #15
djsollen1
Those flags are needed to get the call-graph feature working for perf on Android. I ...
8 years ago (2012-11-29 13:16:28 UTC) #16
eseidel
On 2012/11/29 13:16:28, djsollen1 wrote: > Those flags are needed to get the call-graph feature ...
8 years ago (2012-11-29 16:03:36 UTC) #17
eseidel
On 2012/11/29 10:56:24, Tom Hudson wrote: > After-the-commit, but I don't even know what profiling=1 ...
8 years ago (2012-11-29 16:09:05 UTC) #18
djsollen1
On 2012/11/29 16:03:36, Eric Seidel (Google) wrote: > On 2012/11/29 13:16:28, djsollen1 wrote: > > ...
8 years ago (2012-11-29 16:09:49 UTC) #19
eseidel
W/o this patch if you just run perf (with profiling=0) you will get hot-spot addresses ...
8 years ago (2012-11-29 16:12:24 UTC) #20
eseidel
On 2012/11/29 16:09:49, djsollen1 wrote: > On 2012/11/29 16:03:36, Eric Seidel (Google) wrote: > > ...
8 years ago (2012-11-29 16:13:49 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/eseidel@chromium.org/11316228/9002
8 years ago (2012-11-29 16:14:13 UTC) #22
commit-bot: I haz the power
8 years ago (2012-11-29 22:00:43 UTC) #23
Message was sent while issue was closed.
Change committed as 170249

Powered by Google App Engine
This is Rietveld 408576698