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

Issue 2375783002: Add an `auto_profile_path` flag to GN to control AFDO. (Closed)

Created:
4 years, 2 months ago by Dirk Pranke
Modified:
4 years, 2 months ago
Reviewers:
llozano, brettw
CC:
chromium-reviews, wfh+watch_chromium.org, Dai Mikurube (NOT FULLTIME)
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add an `auto_profile_path` flag to GN to control AFDO. This change adds a new top-level compiler config to GN, so that we can control whether AFDO should be enabled or not per-target in CrOS official builds (which is where we use AFDO). R=brettw@chromium.org, llozano@chromium.org BUG=633719 Committed: https://crrev.com/bffda9f508c0376ab3ae4b9e52b0367c24f3818a Cr-Commit-Position: refs/heads/master@{#422513}

Patch Set 1 #

Total comments: 2

Patch Set 2 : revert compiler.gni change #

Patch Set 3 : fix typechecking error in comparison #

Patch Set 4 : add !is_nacl #

Patch Set 5 : test based on toolchain instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -0 lines) Patch
M base/allocator/BUILD.gn View 1 chunk +3 lines, -0 lines 0 comments Download
M build/config/BUILDCONFIG.gn View 1 2 3 4 1 chunk +1 line, -0 lines 0 comments Download
M build/config/compiler/BUILD.gn View 1 2 3 4 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 26 (3 generated)
Dirk Pranke
For more on AFDO: https://gcc.gnu.org/wiki/AutoFDO In theory it might be nice to consolidate this sort ...
4 years, 2 months ago (2016-09-27 22:41:37 UTC) #1
brettw
https://codereview.chromium.org/2375783002/diff/1/build/config/compiler/compiler.gni File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2375783002/diff/1/build/config/compiler/compiler.gni#newcode41 build/config/compiler/compiler.gni:41: auto_profile_path = "" This appears in a different declare_args ...
4 years, 2 months ago (2016-09-27 23:52:41 UTC) #2
Dirk Pranke
https://codereview.chromium.org/2375783002/diff/1/build/config/compiler/compiler.gni File build/config/compiler/compiler.gni (right): https://codereview.chromium.org/2375783002/diff/1/build/config/compiler/compiler.gni#newcode41 build/config/compiler/compiler.gni:41: auto_profile_path = "" On 2016/09/27 23:52:41, brettw (ping on ...
4 years, 2 months ago (2016-09-28 00:08:34 UTC) #3
Dirk Pranke
4 years, 2 months ago (2016-09-28 00:10:22 UTC) #4
Dirk Pranke
Updated, please take another look?
4 years, 2 months ago (2016-09-28 00:11:10 UTC) #5
brettw
lgtm
4 years, 2 months ago (2016-09-28 17:15:21 UTC) #6
Dirk Pranke
On 2016/09/28 17:15:21, brettw (ping on IM after 24h) wrote: > lgtm @llozano, is it ...
4 years, 2 months ago (2016-09-28 17:18:20 UTC) #7
llozano
On 2016/09/28 17:18:20, Dirk Pranke wrote: > On 2016/09/28 17:15:21, brettw (ping on IM after ...
4 years, 2 months ago (2016-09-28 18:19:34 UTC) #8
llozano
On 2016/09/28 18:19:34, llozano wrote: > On 2016/09/28 17:18:20, Dirk Pranke wrote: > > On ...
4 years, 2 months ago (2016-09-28 21:24:14 UTC) #9
Dirk Pranke
On 2016/09/28 21:24:14, llozano wrote: > On 2016/09/28 18:19:34, llozano wrote: > > On 2016/09/28 ...
4 years, 2 months ago (2016-09-28 21:43:08 UTC) #10
Dirk Pranke
Okay, please try again?
4 years, 2 months ago (2016-09-28 21:53:33 UTC) #11
llozano
On 2016/09/28 21:53:33, Dirk Pranke wrote: > Okay, please try again? Already started. I figured ...
4 years, 2 months ago (2016-09-28 21:59:32 UTC) #12
llozano
On 2016/09/28 21:59:32, llozano wrote: > On 2016/09/28 21:53:33, Dirk Pranke wrote: > > Okay, ...
4 years, 2 months ago (2016-09-28 22:53:19 UTC) #13
Dirk Pranke
On 2016/09/28 22:53:19, llozano wrote: > On 2016/09/28 21:59:32, llozano wrote: > > On 2016/09/28 ...
4 years, 2 months ago (2016-09-28 23:09:29 UTC) #14
Dirk Pranke
Updated again.
4 years, 2 months ago (2016-09-28 23:10:48 UTC) #15
llozano
On 2016/09/28 23:10:48, Dirk Pranke wrote: > Updated again. ok, it is mostly ok. However, ...
4 years, 2 months ago (2016-09-29 06:38:19 UTC) #16
llozano
On 2016/09/29 06:38:19, llozano wrote: > On 2016/09/28 23:10:48, Dirk Pranke wrote: > > Updated ...
4 years, 2 months ago (2016-10-01 00:47:01 UTC) #17
Dirk Pranke
On 2016/10/01 00:47:01, llozano wrote: > ping? Oh, sorry, I posted patchset #6 on wednesday, ...
4 years, 2 months ago (2016-10-01 02:24:51 UTC) #18
llozano
On 2016/10/01 02:24:51, Dirk Pranke (slow) wrote: > On 2016/10/01 00:47:01, llozano wrote: > > ...
4 years, 2 months ago (2016-10-03 18:49: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/2375783002/80001
4 years, 2 months ago (2016-10-03 19:27:43 UTC) #22
llozano
lgtm
4 years, 2 months ago (2016-10-03 19:50:19 UTC) #23
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-03 20:27:00 UTC) #24
commit-bot: I haz the power
4 years, 2 months ago (2016-10-03 20:28:51 UTC) #26
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/bffda9f508c0376ab3ae4b9e52b0367c24f3818a
Cr-Commit-Position: refs/heads/master@{#422513}

Powered by Google App Engine
This is Rietveld 408576698