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

Issue 1852393002: Fix stack symbolization in Telemetry on Windows. (Closed)

Created:
4 years, 8 months ago by Ken Russell (switch to Gerrit)
Modified:
4 years, 8 months ago
CC:
chromium-reviews, telemetry-reviews_chromium.org, Dirk Pranke, David Yen, Vadim Sh.
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix stack symbolization in Telemetry on Windows. (Joint work with @dyen) Since the time stack symbolization in Telemetry was working on Windows, Chromium switched from Breakpad to Crashpad. This change: - Makes Crashpad on Windows honor the BREAKPAD_DUMP_LOCATION environment variable, which Telemetry already sets. - Includes crashpad_database_util.exe in telemetry_binary_manager.isolate on Windows, so Telemetry can use its existing Crashpad code path on that platform. - Adds necessary PDB files again to chrome.isolate. This depends on Catapult CLs https://codereview.chromium.org/1860643002/ and https://codereview.chromium.org/1852393002. Unfortunately, stacktrace_unittest can't yet be enabled on the bots; the Windows Swarming bots don't install the Windows toolchain. Need to land this to unblock Catapult rolls; then will investigate possible solutions. Also necessarily includes the following Catapult roll: Roll src/third_party/catapult/ 6704711c1..6b041c490f00 (5 commits). https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git/+log/6704711c18be..6b041c490f00 $ git log 6704711c1..6b041c490f00 --date=short --no-merges --format='%ad %ae %s' BUG=561763 Committed: https://crrev.com/5cdcc06e3127d788026928924a3c6212cebcf6f1 Cr-Commit-Position: refs/heads/master@{#385170}

Patch Set 1 #

Total comments: 6

Patch Set 2 : Expanded comment based on scottmg's review feedback. #

Patch Set 3 : Include needed Catapult roll. #

Patch Set 4 : Disable stacktrace_unittest on Windows again. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+61 lines, -35 lines) Patch
M DEPS View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/app/chrome_crash_reporter_client.cc View 1 2 chunks +15 lines, -5 lines 0 comments Download
M chrome/breakpad.isolate View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/chrome.isolate View 1 chunk +17 lines, -0 lines 0 comments Download
M chrome/chrome_tests.gypi View 1 2 1 chunk +2 lines, -6 lines 0 comments Download
M tools/perf/chrome_telemetry_build/binary_dependencies.json View 2 chunks +12 lines, -10 lines 0 comments Download
M tools/perf/chrome_telemetry_build/telemetry_binary_manager.isolate View 1 chunk +0 lines, -10 lines 0 comments Download
M tools/perf/core/stacktrace_unittest.py View 1 2 3 2 chunks +7 lines, -3 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 37 (15 generated)
Ken Russell (switch to Gerrit)
Please review: nednguyen: tools/perf changes scottmg: Crashpad change thakis: OWNERS review for Crashpad change maruel ...
4 years, 8 months ago (2016-04-04 19:14:12 UTC) #2
nednguyen
tools/perf/ lgtm
4 years, 8 months ago (2016-04-04 19:18:08 UTC) #3
scottmg
https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc File chrome/app/chrome_crash_reporter_client.cc (right): https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc#newcode296 chrome/app/chrome_crash_reporter_client.cc:296: *crash_dir = crash_dumps_dir_path; Is this directory guaranteed to exist? ...
4 years, 8 months ago (2016-04-04 19:22:02 UTC) #4
scottmg
On 2016/04/04 19:22:02, scottmg wrote: > https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc > File chrome/app/chrome_crash_reporter_client.cc (right): > > https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc#newcode296 > ...
4 years, 8 months ago (2016-04-04 19:22:16 UTC) #5
M-A Ruel
isolate lgtm
4 years, 8 months ago (2016-04-04 19:24:30 UTC) #6
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc File chrome/app/chrome_crash_reporter_client.cc (right): https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc#newcode296 chrome/app/chrome_crash_reporter_client.cc:296: *crash_dir = crash_dumps_dir_path; On 2016/04/04 19:22:02, scottmg wrote: > ...
4 years, 8 months ago (2016-04-04 20:26:45 UTC) #7
scottmg
https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc File chrome/app/chrome_crash_reporter_client.cc (right): https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc#newcode296 chrome/app/chrome_crash_reporter_client.cc:296: *crash_dir = crash_dumps_dir_path; On 2016/04/04 20:26:44, Ken Russell wrote: ...
4 years, 8 months ago (2016-04-04 21:04:58 UTC) #8
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc File chrome/app/chrome_crash_reporter_client.cc (right): https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc#newcode296 chrome/app/chrome_crash_reporter_client.cc:296: *crash_dir = crash_dumps_dir_path; On 2016/04/04 21:04:58, scottmg wrote: > ...
4 years, 8 months ago (2016-04-04 21:59:25 UTC) #9
scottmg
https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc File chrome/app/chrome_crash_reporter_client.cc (right): https://codereview.chromium.org/1852393002/diff/1/chrome/app/chrome_crash_reporter_client.cc#newcode296 chrome/app/chrome_crash_reporter_client.cc:296: *crash_dir = crash_dumps_dir_path; On 2016/04/04 21:59:25, Ken Russell wrote: ...
4 years, 8 months ago (2016-04-04 22:12:04 UTC) #10
Ken Russell (switch to Gerrit)
jochen, sky, thestig: are any of you available to do an OWNERS review of this?
4 years, 8 months ago (2016-04-04 22:42:26 UTC) #12
sky
LGTM
4 years, 8 months ago (2016-04-04 22:46:22 UTC) #13
Ken Russell (switch to Gerrit)
Thanks for your reviews. CQ'ing. I believe the stack trace symbolization test should work now ...
4 years, 8 months ago (2016-04-04 23:36:19 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852393002/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852393002/40001
4 years, 8 months ago (2016-04-04 23:36:57 UTC) #20
commit-bot: I haz the power
Try jobs failed on following builders: linux_android_rel_ng on tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/linux_android_rel_ng/builds/48130)
4 years, 8 months ago (2016-04-05 01:05:55 UTC) #22
Ken Russell (switch to Gerrit)
(Very) unfortunately, the Swarming bots don't have win_toolchain installed in depot_tools. I failed to anticipate ...
4 years, 8 months ago (2016-04-05 01:13:02 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852393002/60001
4 years, 8 months ago (2016-04-05 01:25:44 UTC) #27
M-A Ruel
On 2016/04/05 01:13:02, Ken Russell wrote: > (Very) unfortunately, the Swarming bots don't have win_toolchain ...
4 years, 8 months ago (2016-04-05 01:26:26 UTC) #28
Ken Russell (switch to Gerrit)
On 2016/04/05 01:26:26, M-A Ruel wrote: > On 2016/04/05 01:13:02, Ken Russell wrote: > > ...
4 years, 8 months ago (2016-04-05 01:30:16 UTC) #29
commit-bot: I haz the power
Try jobs failed on following builders: android_chromium_gn_compile_dbg on tryserver.chromium.android (JOB_TIMED_OUT, https://build.chromium.org/p/tryserver.chromium.android/builders/android_chromium_gn_compile_dbg/builds/45475) android_chromium_gn_compile_rel on tryserver.chromium.android (JOB_TIMED_OUT, ...
4 years, 8 months ago (2016-04-05 07:26:54 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1852393002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1852393002/60001
4 years, 8 months ago (2016-04-05 13:11:48 UTC) #33
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-05 14:38:08 UTC) #35
commit-bot: I haz the power
4 years, 8 months ago (2016-04-05 14:40:08 UTC) #37
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/5cdcc06e3127d788026928924a3c6212cebcf6f1
Cr-Commit-Position: refs/heads/master@{#385170}

Powered by Google App Engine
This is Rietveld 408576698