Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(477)

Issue 319690043: Adding output directory support to lab scripts

Can't Edit
Can't Publish+Mail
Start Review
Created:
6 years, 11 months ago by bruce dawson
Modified:
6 years, 11 months ago
Reviewers:
brucedawson1, crouleau1
CC:
crouleau
Visibility:
Public.

Description

Adding output directory support to lab scripts The original version of the lab ETW scripts would only run if the batch files and scripts were all in the current directory. That's a bug. And, there was no way of specifying where the output files should go. This change fixes the bug and allows an optional output directory to be specified as a parameter to the stop_tracing.bat file. The default output directory is the current directory.

Patch Set 1 #

Total comments: 6
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -20 lines) Patch
M LabScripts/GeneralTracing/CreateExporterConfig.py View 2 chunks +10 lines, -5 lines 4 comments Download
M LabScripts/GeneralTracing/ReadMe.txt View 1 chunk +2 lines, -1 line 2 comments Download
M LabScripts/GeneralTracing/SummarizeData.py View 2 chunks +13 lines, -7 lines 0 comments Download
M LabScripts/GeneralTracing/set_vars.bat View 1 chunk +0 lines, -2 lines 0 comments Download
M LabScripts/GeneralTracing/stop_tracing.bat View 1 chunk +17 lines, -5 lines 0 comments Download

Messages

Total messages: 7
brucedawson1
This adds the requested output directory feature. The directory has to be created ahead of ...
6 years, 11 months ago (2017-04-27 18:57:26 UTC) #1
crouleau1
LGTM % nits https://codereview.appspot.com/319690043/diff/1/LabScripts/GeneralTracing/CreateExporterConfig.py File LabScripts/GeneralTracing/CreateExporterConfig.py (right): https://codereview.appspot.com/319690043/diff/1/LabScripts/GeneralTracing/CreateExporterConfig.py#newcode24 LabScripts/GeneralTracing/CreateExporterConfig.py:24: file. It would be nice to ...
6 years, 11 months ago (2017-04-27 20:17:29 UTC) #2
brucedawson1
https://codereview.appspot.com/319690043/diff/1/LabScripts/GeneralTracing/CreateExporterConfig.py File LabScripts/GeneralTracing/CreateExporterConfig.py (right): https://codereview.appspot.com/319690043/diff/1/LabScripts/GeneralTracing/CreateExporterConfig.py#newcode24 LabScripts/GeneralTracing/CreateExporterConfig.py:24: file. On 2017/04/27 20:17:28, crouleau1 wrote: > It would ...
6 years, 11 months ago (2017-04-27 22:06:20 UTC) #3
crouleau1
On 2017/04/27 22:06:20, brucedawson1 wrote: > https://codereview.appspot.com/319690043/diff/1/LabScripts/GeneralTracing/CreateExporterConfig.py > File LabScripts/GeneralTracing/CreateExporterConfig.py (right): > > https://codereview.appspot.com/319690043/diff/1/LabScripts/GeneralTracing/CreateExporterConfig.py#newcode24 > ...
6 years, 11 months ago (2017-04-27 22:09:27 UTC) #4
brucedawson1
> git cl upload It won't let me because I already uploaded the change to ...
6 years, 11 months ago (2017-04-27 22:12:22 UTC) #5
crouleau1
On 2017/04/27 22:12:22, brucedawson1 wrote: > > git cl upload > > It won't let ...
6 years, 11 months ago (2017-04-27 22:17:52 UTC) #6
brucedawson1
6 years, 11 months ago (2017-04-27 22:23:19 UTC) #7
> Maybe we should be github UI for reviews instead of rietveld if we can figure
> out how to make that work. I'll look into it at some point.

Yep, that would be good. The process I'm aware of requires cloning the repo for
every change in order to create a pull request. It feels like this adds even
higher friction that the Frankenstein rietveld/git-push model. I've heard that
reusing repos is supposed to work but have not been able to make that happen.
There may be other options.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b