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

Issue 18826012: Telemetry / Android: symbolize crashstack. (Closed)

Created:
7 years, 5 months ago by bulach
Modified:
7 years, 5 months ago
Reviewers:
tonyg
CC:
chromium-reviews, craigdh+watch_chromium.org, chrome-speed-team+watch_google.com, bulach+watch_chromium.org, yfriedman+watch_chromium.org, ilevy-cc_chromium.org, klundberg+watch_chromium.org, telemetry+watch_chromium.org, frankf+watch_chromium.org
Visibility:
Public.

Description

Telemetry / Android: symbolize crashstack. Use all the tools to get as much information as possible: - print the logcat - try to symbolize it - try to symbolize tombstones BUG=223572 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=211459

Patch Set 1 #

Total comments: 5

Patch Set 2 : comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -31 lines) Patch
M build/android/tombstones.py View 2 chunks +8 lines, -4 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/adb_commands.py View 1 chunk +4 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/chrome/android_browser_backend.py View 1 2 chunks +23 lines, -26 lines 0 comments Download
M tools/telemetry/telemetry/page/page_runner.py View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (0 generated)
bulach
ptal
7 years, 5 months ago (2013-07-12 08:50:33 UTC) #1
tonyg
lgtm Thanks for hooking this up! https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/core/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/chrome/android_browser_backend.py (right): https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/core/chrome/android_browser_backend.py#newcode268 tools/telemetry/telemetry/core/chrome/android_browser_backend.py:268: chrome_src_dir = os.path.abspath( ...
7 years, 5 months ago (2013-07-12 15:33:29 UTC) #2
bulach
thanks tony! comments addressing, CQing.. https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/core/chrome/android_browser_backend.py File tools/telemetry/telemetry/core/chrome/android_browser_backend.py (right): https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/core/chrome/android_browser_backend.py#newcode268 tools/telemetry/telemetry/core/chrome/android_browser_backend.py:268: chrome_src_dir = os.path.abspath( On ...
7 years, 5 months ago (2013-07-12 15:51:26 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bulach@chromium.org/18826012/5001
7 years, 5 months ago (2013-07-12 15:51:55 UTC) #4
commit-bot: I haz the power
Change committed as 211459
7 years, 5 months ago (2013-07-12 21:11:19 UTC) #5
tonyg
https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/page/page_runner.py File tools/telemetry/telemetry/page/page_runner.py (left): https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/page/page_runner.py#oldcode238 tools/telemetry/telemetry/page/page_runner.py:238: if not options.show_stdout: On 2013/07/12 15:51:27, bulach wrote: > ...
7 years, 5 months ago (2013-07-12 22:52:41 UTC) #6
bulach
7 years, 5 months ago (2013-07-15 09:35:01 UTC) #7
Message was sent while issue was closed.
On 2013/07/12 22:52:41, tonyg wrote:
>
https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/pag...
> File tools/telemetry/telemetry/page/page_runner.py (left):
> 
>
https://codereview.chromium.org/18826012/diff/1/tools/telemetry/telemetry/pag...
> tools/telemetry/telemetry/page/page_runner.py:238: if not options.show_stdout:
> On 2013/07/12 15:51:27, bulach wrote:
> > On 2013/07/12 15:33:30, tonyg wrote:
> > > That was weird
> > 
> > :)
> 
> Sorry, I realized why this was there now. The idea is that if you are already
> running with --show-stdout, then you don't need to call GetStandardOutput()
> because the stdout is already being output.
> 
> This block specifically says, even if you are not using --show-stdout, we want
> to show it in the case of a tab crash.
> 
> Since the bots do not pass --show-stdout, with this change we'll never output
> stacks on the bots.
> 
> The easiest thing to do is probably just to put it back the way it was. The
> right thing to do is probably to separate out functions for
GetStandardOutput()
> and GetStackTrace() instead of misusing GetStandardOutput() on android.

ahn, that makes sense! I'll prepare a patch in a bit, sorry about the churn.

Powered by Google App Engine
This is Rietveld 408576698