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

Issue 1334473003: Add GPU fingerprint information to breakpad microdumps. (Closed)

Created:
5 years, 3 months ago by Tobias Sargeant
Modified:
5 years, 2 months ago
CC:
google-breakpad-dev_googlegroups.com
Base URL:
https://chromium.googlesource.com/breakpad/breakpad.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Add GPU fingerprint information to breakpad microdumps. Although strictly the GPU fingerprint is defined by the build fingerprint, there is not currently a straightforward mapping from build fingerprint to useful GPU / GL driver information. In order to aid debugging of WebView crashes that occur in GL drivers, and to better understand the range of drivers and versions for feature blacklisting purposes, it is useful to have GPU fingerprints in breakpad microdumps. Landing this patch on behalf of Tobias Sargeant<tobiasjs@chromium.org>; BUG=chromium:536769 R=primiano@chromium.org, thestig@chromium.org Committed: https://chromium.googlesource.com/breakpad/breakpad/+/7ecc65758d808c7c3a954141addadc3c84512a75

Patch Set 1 #

Total comments: 4

Patch Set 2 : Refactor microdump extra info into a struct. #

Patch Set 3 : Resolve TODO. #

Total comments: 10

Patch Set 4 : Remove unnecessary code, add unittest, update comments. #

Total comments: 18

Patch Set 5 : Final nits. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+128 lines, -90 lines) Patch
M src/client/linux/handler/exception_handler.cc View 1 2 3 1 chunk +1 line, -2 lines 0 comments Download
A + src/client/linux/handler/microdump_extra_info.h View 1 2 3 4 2 chunks +12 lines, -9 lines 0 comments Download
M src/client/linux/handler/minidump_descriptor.h View 1 2 3 4 5 chunks +22 lines, -34 lines 0 comments Download
M src/client/linux/handler/minidump_descriptor.cc View 1 2 3 3 chunks +2 lines, -15 lines 0 comments Download
M src/client/linux/microdump_writer/microdump_writer.h View 1 2 3 4 2 chunks +3 lines, -2 lines 0 comments Download
M src/client/linux/microdump_writer/microdump_writer.cc View 1 2 3 4 11 chunks +22 lines, -14 lines 0 comments Download
M src/client/linux/microdump_writer/microdump_writer_unittest.cc View 1 2 3 4 7 chunks +66 lines, -14 lines 0 comments Download

Messages

Total messages: 14 (2 generated)
Tobias Sargeant
5 years, 3 months ago (2015-09-09 11:33:29 UTC) #2
Primiano Tucci (use gerrit)
https://codereview.chromium.org/1334473003/diff/1/src/client/linux/handler/minidump_descriptor.h File src/client/linux/handler/minidump_descriptor.h (right): https://codereview.chromium.org/1334473003/diff/1/src/client/linux/handler/minidump_descriptor.h#newcode126 src/client/linux/handler/minidump_descriptor.h:126: void SetMicrodumpGPUFingerprint(const char* gpu_fingerprint); At this point feels like ...
5 years, 3 months ago (2015-09-09 18:59:34 UTC) #3
Lei Zhang
(drive by with only a brief look) If we do this, should we do it ...
5 years, 3 months ago (2015-09-09 19:16:38 UTC) #4
Primiano Tucci (use gerrit)
On 2015/09/09 19:16:38, Lei Zhang wrote: > (drive by with only a brief look) If ...
5 years, 3 months ago (2015-09-09 19:19:45 UTC) #5
Tobias Sargeant
On 2015/09/09 19:19:45, Primiano Tucci wrote: > On 2015/09/09 19:16:38, Lei Zhang wrote: > > ...
5 years, 3 months ago (2015-09-10 10:32:32 UTC) #6
Tobias Sargeant
https://codereview.chromium.org/1334473003/diff/1/src/client/linux/handler/minidump_descriptor.h File src/client/linux/handler/minidump_descriptor.h (right): https://codereview.chromium.org/1334473003/diff/1/src/client/linux/handler/minidump_descriptor.h#newcode126 src/client/linux/handler/minidump_descriptor.h:126: void SetMicrodumpGPUFingerprint(const char* gpu_fingerprint); On 2015/09/09 18:59:34, Primiano Tucci ...
5 years, 3 months ago (2015-09-10 10:45:04 UTC) #7
Primiano Tucci (use gerrit)
Looks good, just some final comments and I think you can remove quite some code ...
5 years, 3 months ago (2015-09-10 12:38:58 UTC) #9
Tobias Sargeant
https://codereview.chromium.org/1334473003/diff/40001/src/client/linux/handler/microdump_extra_info.h File src/client/linux/handler/microdump_extra_info.h (right): https://codereview.chromium.org/1334473003/diff/40001/src/client/linux/handler/microdump_extra_info.h#newcode43 src/client/linux/handler/microdump_extra_info.h:43: MicrodumpExtraInfo(const char* build_fingerprint_val, On 2015/09/10 12:38:58, Primiano Tucci wrote: ...
5 years, 3 months ago (2015-09-10 13:18:39 UTC) #10
Primiano Tucci (use gerrit)
LGTM. But plz wait for thestig review. Also can you make sure that ./configure && ...
5 years, 3 months ago (2015-09-10 13:58:31 UTC) #11
Lei Zhang
lgtm, it's just all nits below https://codereview.chromium.org/1334473003/diff/60001/src/client/linux/handler/minidump_descriptor.h File src/client/linux/handler/minidump_descriptor.h (right): https://codereview.chromium.org/1334473003/diff/60001/src/client/linux/handler/minidump_descriptor.h#newcode57 src/client/linux/handler/minidump_descriptor.h:57: microdump_extra_info_() {} probably ...
5 years, 3 months ago (2015-09-10 18:38:19 UTC) #12
Tobias Sargeant
https://codereview.chromium.org/1334473003/diff/60001/src/client/linux/handler/microdump_extra_info.h File src/client/linux/handler/microdump_extra_info.h (right): https://codereview.chromium.org/1334473003/diff/60001/src/client/linux/handler/microdump_extra_info.h#newcode45 src/client/linux/handler/microdump_extra_info.h:45: MicrodumpExtraInfo(const char* build_fingerprint_val, On 2015/09/10 13:58:31, Primiano Tucci wrote: ...
5 years, 3 months ago (2015-09-11 09:07:50 UTC) #13
Primiano Tucci (use gerrit)
5 years, 2 months ago (2015-09-28 12:53:00 UTC) #14
Message was sent while issue was closed.
Committed patchset #5 (id:80001) manually as
7ecc65758d808c7c3a954141addadc3c84512a75 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698