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

Unified Diff: systrace/systrace/run_systrace.py

Issue 2401053002: Revert of Update systrace and profile_chrome's default agent behavior (Closed)
Patch Set: Created 4 years, 2 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 | « systrace/profile_chrome/main.py ('k') | systrace/systrace/tracing_agents/atrace_agent.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: systrace/systrace/run_systrace.py
diff --git a/systrace/systrace/run_systrace.py b/systrace/systrace/run_systrace.py
index 2cff05f733020942b4ad281bf9c9fd729c239f5e..dc910609aa679abb6fbbde71b4582d19d437cb09 100755
--- a/systrace/systrace/run_systrace.py
+++ b/systrace/systrace/run_systrace.py
@@ -129,10 +129,6 @@
raise RuntimeError('Categories are only valid for atrace/ftrace. Target '
'platform must be either Android or Linux.')
- # Include atrace categories by default in Systrace.
- if options.target == 'android' and not options.atrace_categories:
- options.atrace_categories = atrace_agent.DEFAULT_CATEGORIES
-
if options.target == 'android' and not options.from_file:
initialize_devil()
if not options.device_serial_number:
« no previous file with comments | « systrace/profile_chrome/main.py ('k') | systrace/systrace/tracing_agents/atrace_agent.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698