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

Issue 2753133002: Add process uptime metadata event in tracing (Closed)

Created:
3 years, 9 months ago by ssid
Modified:
3 years, 9 months ago
CC:
chromium-reviews, tracing+reviews_chromium.org, wfh+watch_chromium.org, vmpstr+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add process uptime metadata event in tracing 1. Make CurrentProcessInfo::CreationTime consistent on Linux with Win and Mac implementation: return null value instead of crashing on failure. 2. Use process_info_linux.cc in Android too, it works the same. 3. Add the total process uptime as meadata event in traces and whitelist in filtered mode. BUG=654667 Review-Url: https://codereview.chromium.org/2753133002 Cr-Commit-Position: refs/heads/master@{#458799} Committed: https://chromium.googlesource.com/chromium/src/+/a714d7dc0f1b8ecdee128db04e24b0da1087df8a

Patch Set 1 #

Patch Set 2 : . #

Patch Set 3 : . #

Total comments: 4

Patch Set 4 : add unittest and rename to uptime. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+38 lines, -2 lines) Patch
M base/BUILD.gn View 1 2 3 2 chunks +2 lines, -0 lines 0 comments Download
M base/process/process_info_linux.cc View 1 1 chunk +4 lines, -2 lines 0 comments Download
A base/process/process_info_unittest.cc View 1 2 3 1 chunk +20 lines, -0 lines 0 comments Download
M base/trace_event/trace_log.cc View 1 2 3 2 chunks +11 lines, -0 lines 0 comments Download
M chrome/common/trace_event_args_whitelist.cc View 1 1 chunk +1 line, -0 lines 0 comments Download

Messages

Total messages: 41 (30 generated)
ssid
+thakis for base/ changes +oysteine for tracing files ptal thanks!
3 years, 9 months ago (2017-03-21 01:04:25 UTC) #10
oystein (OOO til 10th of July)
On 2017/03/21 at 01:04:25, ssid wrote: > +thakis for base/ changes > > +oysteine for ...
3 years, 9 months ago (2017-03-21 17:21:06 UTC) #11
Primiano Tucci (use gerrit)
one minor comment, although still lgtm from my viewpoint https://codereview.chromium.org/2753133002/diff/60001/base/trace_event/trace_log.cc File base/trace_event/trace_log.cc (right): https://codereview.chromium.org/2753133002/diff/60001/base/trace_event/trace_log.cc#newcode1509 base/trace_event/trace_log.cc:1509: ...
3 years, 9 months ago (2017-03-21 17:36:23 UTC) #13
Nico
base/ lgtm https://codereview.chromium.org/2753133002/diff/60001/base/process/process_info_linux.cc File base/process/process_info_linux.cc (right): https://codereview.chromium.org/2753133002/diff/60001/base/process/process_info_linux.cc#newcode20 base/process/process_info_linux.cc:20: if (!start_ticks) this is covered by tests, ...
3 years, 9 months ago (2017-03-21 21:01:56 UTC) #14
ssid
Thanks. Nico, ptal at unittest file. https://codereview.chromium.org/2753133002/diff/60001/base/process/process_info_linux.cc File base/process/process_info_linux.cc (right): https://codereview.chromium.org/2753133002/diff/60001/base/process/process_info_linux.cc#newcode20 base/process/process_info_linux.cc:20: if (!start_ticks) On ...
3 years, 9 months ago (2017-03-22 00:41:09 UTC) #17
Nico
lgtm
3 years, 9 months ago (2017-03-22 01:33:24 UTC) #20
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/2753133002/80001
3 years, 9 months ago (2017-03-22 02:25:18 UTC) #24
commit-bot: I haz the power
Try jobs failed on following builders: ios-simulator-xcode-clang on master.tryserver.chromium.mac (JOB_TIMED_OUT, build hasn't started yet, builder ...
3 years, 9 months ago (2017-03-22 04:27:03 UTC) #26
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/2753133002/80001
3 years, 9 months ago (2017-03-22 17:56:31 UTC) #36
commit-bot: I haz the power
Committed patchset #4 (id:80001) as https://chromium.googlesource.com/chromium/src/+/a714d7dc0f1b8ecdee128db04e24b0da1087df8a
3 years, 9 months ago (2017-03-22 18:07:05 UTC) #39
dgozman
3 years, 9 months ago (2017-03-22 20:51:04 UTC) #40
Message was sent while issue was closed.
A revert of this CL (patchset #4 id:80001) has been created in
https://codereview.chromium.org/2768123002/ by dgozman@chromium.org.

The reason for reverting is: Looks like this broke base_unittests on Linux TSan:
https://uberchromegw.corp.google.com/i/chromium.memory/builders/Linux%20TSan%....

Powered by Google App Engine
This is Rietveld 408576698