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

Issue 690103005: [Cleanup] List trace categories through script as shown by trace record dialog (Closed)

Created:
6 years, 1 month ago by r.kasibhatla
Modified:
6 years, 1 month ago
Reviewers:
dsinclair, Sami
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Project:
chromium
Visibility:
Public.

Description

[Cleanup] List trace categories through script as shown by trace record dialog Script just dumps the categories as received from trace buffer. It includes group of categories clubbed. A minor cleanup to present each individual category actually present in the code and list them as seen by the user when trace RecordDialog is created in the UI. BUG=None R=nduca,dsinclair Committed: https://crrev.com/14935a5313c7fe81cdf169e86ee0e81e26649c56 Cr-Commit-Position: refs/heads/master@{#303645}

Patch Set 1 #

Total comments: 2

Patch Set 2 : Corrected the logic of wrong insertion! #

Total comments: 2

Patch Set 3 : Changed from category variable from list to set! #

Total comments: 2

Patch Set 4 : Return list instead of set! #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -7 lines) Patch
M tools/profile_chrome/chrome_controller.py View 1 2 3 1 chunk +8 lines, -7 lines 0 comments Download

Messages

Total messages: 20 (3 generated)
r.kasibhatla
PTAL! Just a minor cleanup to list categories individually instead of a grouped categories (if ...
6 years, 1 month ago (2014-11-06 10:45:04 UTC) #1
dsinclair
https://codereview.chromium.org/690103005/diff/1/tools/profile_chrome/chrome_controller.py File tools/profile_chrome/chrome_controller.py (right): https://codereview.chromium.org/690103005/diff/1/tools/profile_chrome/chrome_controller.py#newcode56 tools/profile_chrome/chrome_controller.py:56: if item.startswith('disabled-by-default'): Don't we want to do this check ...
6 years, 1 month ago (2014-11-07 00:05:25 UTC) #3
r.kasibhatla
Done. Thanks for catching the error. :) https://codereview.chromium.org/690103005/diff/1/tools/profile_chrome/chrome_controller.py File tools/profile_chrome/chrome_controller.py (right): https://codereview.chromium.org/690103005/diff/1/tools/profile_chrome/chrome_controller.py#newcode56 tools/profile_chrome/chrome_controller.py:56: if item.startswith('disabled-by-default'): ...
6 years, 1 month ago (2014-11-07 09:58:47 UTC) #4
Sami
https://codereview.chromium.org/690103005/diff/20001/tools/profile_chrome/chrome_controller.py File tools/profile_chrome/chrome_controller.py (right): https://codereview.chromium.org/690103005/diff/20001/tools/profile_chrome/chrome_controller.py#newcode50 tools/profile_chrome/chrome_controller.py:50: record_categories = [] Could you turn both of these ...
6 years, 1 month ago (2014-11-07 18:58:14 UTC) #5
r.kasibhatla
Done. PTAL! https://codereview.chromium.org/690103005/diff/20001/tools/profile_chrome/chrome_controller.py File tools/profile_chrome/chrome_controller.py (right): https://codereview.chromium.org/690103005/diff/20001/tools/profile_chrome/chrome_controller.py#newcode50 tools/profile_chrome/chrome_controller.py:50: record_categories = [] On 2014/11/07 18:58:14, Sami ...
6 years, 1 month ago (2014-11-10 06:42:17 UTC) #6
dsinclair
https://codereview.chromium.org/690103005/diff/40001/tools/profile_chrome/chrome_controller.py File tools/profile_chrome/chrome_controller.py (right): https://codereview.chromium.org/690103005/diff/40001/tools/profile_chrome/chrome_controller.py#newcode50 tools/profile_chrome/chrome_controller.py:50: record_categories = set() Does a set() work the same ...
6 years, 1 month ago (2014-11-10 14:10:14 UTC) #7
Sami
https://codereview.chromium.org/690103005/diff/40001/tools/profile_chrome/chrome_controller.py File tools/profile_chrome/chrome_controller.py (right): https://codereview.chromium.org/690103005/diff/40001/tools/profile_chrome/chrome_controller.py#newcode50 tools/profile_chrome/chrome_controller.py:50: record_categories = set() On 2014/11/10 14:10:13, dsinclair wrote: > ...
6 years, 1 month ago (2014-11-10 14:39:45 UTC) #8
r.kasibhatla
> You can iterate over sets the same way as lists (for x in s), ...
6 years, 1 month ago (2014-11-11 04:26:58 UTC) #9
Sami
On 2014/11/11 04:26:58, r.kasibhatla wrote: > > You can iterate over sets the same way ...
6 years, 1 month ago (2014-11-11 12:47:53 UTC) #10
dsinclair
lgtm
6 years, 1 month ago (2014-11-11 13:59:16 UTC) #12
dsinclair
On 2014/11/11 12:47:53, Sami wrote: > On 2014/11/11 04:26:58, r.kasibhatla wrote: > > > You ...
6 years, 1 month ago (2014-11-11 14:00:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690103005/40001
6 years, 1 month ago (2014-11-11 14:00:40 UTC) #14
r.kasibhatla
On 2014/11/11 14:00:19, dsinclair wrote: > On 2014/11/11 12:47:53, Sami wrote: > > On 2014/11/11 ...
6 years, 1 month ago (2014-11-11 14:02:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/690103005/60001
6 years, 1 month ago (2014-11-11 14:04:13 UTC) #17
Sami
lgtm
6 years, 1 month ago (2014-11-11 14:04:13 UTC) #18
commit-bot: I haz the power
Committed patchset #4 (id:60001)
6 years, 1 month ago (2014-11-11 14:41:44 UTC) #19
commit-bot: I haz the power
6 years, 1 month ago (2014-11-11 14:42:15 UTC) #20
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/14935a5313c7fe81cdf169e86ee0e81e26649c56
Cr-Commit-Position: refs/heads/master@{#303645}

Powered by Google App Engine
This is Rietveld 408576698