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

Unified Diff: systrace/systrace/tracing_agents/ftrace_agent.py

Issue 2297403003: Use Systrace tracing controller in profile_chrome (Closed) Base URL: https://chromium.googlesource.com/external/github.com/catapult-project/catapult.git@master
Patch Set: Added property method for tracing controller's child agents Created 4 years, 3 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
Index: systrace/systrace/tracing_agents/ftrace_agent.py
diff --git a/systrace/systrace/tracing_agents/ftrace_agent.py b/systrace/systrace/tracing_agents/ftrace_agent.py
index bddeae5467d3cfbc73a1617f17cb14e0545a1adf..9b63c6af22c668a774507f0f47e9f8aa462f25ca 100644
--- a/systrace/systrace/tracing_agents/ftrace_agent.py
+++ b/systrace/systrace/tracing_agents/ftrace_agent.py
@@ -90,7 +90,7 @@ all_categories = {
def try_create_agent(config):
if config.target != 'linux':
- return False
+ return None
return FtraceAgent(FtraceAgentIo)

Powered by Google App Engine
This is Rietveld 408576698