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

Unified Diff: tools/traceline/traceline/main.cc

Issue 118377: Some improvements and bug fixes to traceline. (Closed)
Patch Set: for in file Created 11 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/traceline/svgui/traceline.js ('k') | tools/traceline/traceline/scripts/filter_split.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/traceline/traceline/main.cc
diff --git a/tools/traceline/traceline/main.cc b/tools/traceline/traceline/main.cc
index 997a428d03841bd129175f0ea009236f2a471fcb..97085ebe628c178cdc39b6af2f5ce2d3d140851d 100644
--- a/tools/traceline/traceline/main.cc
+++ b/tools/traceline/traceline/main.cc
@@ -990,11 +990,11 @@ class Playground {
void Patch() {
- //PatchCreateThread();
-
if (options_.vista()) {
+ // TODO(deanm): Make PatchCreateThread work on Vista.
PatchThreadBeginVista();
} else {
+ PatchCreateThread();
PatchThreadBegin();
}
@@ -1309,7 +1309,8 @@ int main(int argc, char** argv) {
// Wait until we have been notified that it's exiting.
if (manual_quit) {
- printf("Press enter when you want to collect.\n");
+ fprintf(stderr, "Press enter when you want stop tracing and collect.\n");
+ fflush(stderr);
getchar();
} else {
HANDLE whs[] = {exiting, info.hProcess};
« no previous file with comments | « tools/traceline/svgui/traceline.js ('k') | tools/traceline/traceline/scripts/filter_split.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698