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

Issue 578123002: [telemetry] Read MSRs from a separate privileged process. (Closed)

Created:
6 years, 3 months ago by dtu
Modified:
6 years, 3 months ago
Reviewers:
Lei Zhang, tonyg
CC:
chromium-reviews, telemetry+watch_chromium.org, sullivan
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[telemetry] Read MSRs from a separate privileged process. This allows us to read MSRs on Windows Vista+. Also move ReadMsr into PlatformBackend. BUG=336558 TEST=tools/telemetry/run_tests msr Committed: https://crrev.com/2156b0323c83d6f11e68344ecf7e7e0c833cfa14 Cr-Commit-Position: refs/heads/master@{#295634} Committed: https://crrev.com/e8f709b238dad796f7babb928d482963a5421794 Cr-Commit-Position: refs/heads/master@{#295737}

Patch Set 1 #

Total comments: 8

Patch Set 2 : atexit, comment. #

Patch Set 3 : Reuse TerminateProcess. #

Patch Set 4 : Add pre-Vista check and increase server launch timeout. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+248 lines, -129 lines) Patch
A tools/telemetry/telemetry/core/platform/msr_server_win.py View 1 chunk +100 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/platform_backend.py View 1 1 chunk +8 lines, -0 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/msr_power_monitor.py View 5 chunks +30 lines, -116 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/power_monitor/msr_power_monitor_unittest.py View 3 chunks +4 lines, -6 lines 0 comments Download
M tools/telemetry/telemetry/core/platform/win_platform_backend.py View 1 2 3 4 chunks +106 lines, -7 lines 0 comments Download

Messages

Total messages: 17 (4 generated)
dtu
Please review, but I think I'm leaving a Python process around, and need to debug ...
6 years, 3 months ago (2014-09-18 00:10:33 UTC) #2
tonyg
https://codereview.chromium.org/578123002/diff/1/tools/telemetry/telemetry/core/platform/msr_server_win.py File tools/telemetry/telemetry/core/platform/msr_server_win.py (right): https://codereview.chromium.org/578123002/diff/1/tools/telemetry/telemetry/core/platform/msr_server_win.py#newcode91 tools/telemetry/telemetry/core/platform/msr_server_win.py:91: SocketServer.TCPServer.allow_reuse_address = True Does setting daemon_threads help w/ the ...
6 years, 3 months ago (2014-09-18 00:21:46 UTC) #4
dtu
https://codereview.chromium.org/578123002/diff/1/tools/telemetry/telemetry/core/platform/msr_server_win.py File tools/telemetry/telemetry/core/platform/msr_server_win.py (right): https://codereview.chromium.org/578123002/diff/1/tools/telemetry/telemetry/core/platform/msr_server_win.py#newcode91 tools/telemetry/telemetry/core/platform/msr_server_win.py:91: SocketServer.TCPServer.allow_reuse_address = True On 2014/09/18 00:21:45, tonyg wrote: > ...
6 years, 3 months ago (2014-09-18 05:22:29 UTC) #5
tonyg
lgtm
6 years, 3 months ago (2014-09-19 00:10:45 UTC) #6
dtu
6 years, 3 months ago (2014-09-19 00:14:16 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578123002/40001
6 years, 3 months ago (2014-09-19 00:15:59 UTC) #9
commit-bot: I haz the power
Committed patchset #3 (id:40001) as 67d8f9774e6902a769f273fb300ec8067e58ceed
6 years, 3 months ago (2014-09-19 01:13:23 UTC) #10
commit-bot: I haz the power
Patchset 3 (id:??) landed as https://crrev.com/2156b0323c83d6f11e68344ecf7e7e0c833cfa14 Cr-Commit-Position: refs/heads/master@{#295634}
6 years, 3 months ago (2014-09-19 01:14:02 UTC) #11
vasilii
A revert of this CL (patchset #3 id:40001) has been created in https://codereview.chromium.org/582123003/ by vasilii@chromium.org. ...
6 years, 3 months ago (2014-09-19 08:30:42 UTC) #12
dtu
XP: Added check to skip security token check. Vista+: Increased server launch timeout. I don't ...
6 years, 3 months ago (2014-09-19 17:10:38 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578123002/60001
6 years, 3 months ago (2014-09-19 17:11:49 UTC) #15
commit-bot: I haz the power
Committed patchset #4 (id:60001) as 5937b083416943623582ede6ffa5caa6c8d1b34a
6 years, 3 months ago (2014-09-19 18:09:16 UTC) #16
commit-bot: I haz the power
6 years, 3 months ago (2014-09-19 18:10:08 UTC) #17
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e8f709b238dad796f7babb928d482963a5421794
Cr-Commit-Position: refs/heads/master@{#295737}

Powered by Google App Engine
This is Rietveld 408576698