|
Pass in custom options to Systrace agents
This CL refactors the Systace agent API to take in a custom config
object tailored to the object. In doing so, this CL:
- Updates Systrace's StartAgentTracing() to take in custom options
- Updates profile_chrome's StartAgentTracing() as well
- Updates the Telemetry call that calls Systrace
- Updates the unit tests accordingly
Note that profile_chrome still needs to be followed to follow Systrace's
controller API. This will be in a separate follow-up CL.
Because so much code is moved between files, this CL looks
artificially large.
BUG=catapult:#2690
Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/2629713e67ee64c5448824c93f086efc92a5c2f0
Total comments: 14
Total comments: 28
Total comments: 6
Total comments: 13
Total comments: 4
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+641 lines, -360 lines) |
Patch |
 |
M |
systrace/bin/adb_profile_chrome_startup
|
View
|
1
2
3
4
5
6
|
3 chunks |
+7 lines, -10 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/atrace_tracing_agent.py
|
View
|
1
2
3
4
5
|
4 chunks |
+37 lines, -3 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/atrace_tracing_agent_unittest.py
|
View
|
1
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/chrome_startup_tracing_agent.py
|
View
|
1
2
3
4
5
|
3 chunks |
+23 lines, -1 line |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/chrome_startup_tracing_agent_unittest.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/chrome_tracing_agent.py
|
View
|
1
2
3
|
5 chunks |
+79 lines, -4 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/chrome_tracing_agent_unittest.py
|
View
|
1
|
1 chunk |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/ddms_tracing_agent.py
|
View
|
1
|
3 chunks |
+18 lines, -1 line |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/ddms_tracing_agent_unittest.py
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/flags.py
|
View
|
|
1 chunk |
+0 lines, -13 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/main.py
|
View
|
|
5 chunks |
+13 lines, -104 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/perf_tracing_agent.py
|
View
|
1
2
3
|
4 chunks |
+41 lines, -3 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/perf_tracing_agent_unittest.py
|
View
|
1
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/profiler.py
|
View
|
1
|
3 chunks |
+23 lines, -4 lines |
0 comments
|
Download
|
 |
M |
systrace/profile_chrome/profiler_unittest.py
|
View
|
|
4 chunks |
+6 lines, -8 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/run_systrace.py
|
View
|
1
2
3
4
5
6
|
5 chunks |
+46 lines, -44 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/systrace_runner.py
|
View
|
1
2
3
|
3 chunks |
+51 lines, -12 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/__init__.py
|
View
|
1
|
1 chunk |
+12 lines, -3 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/atrace_agent.py
|
View
|
1
2
3
4
|
10 chunks |
+112 lines, -57 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/atrace_agent_unittest.py
|
View
|
1
2
3
|
3 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/atrace_from_file_agent.py
|
View
|
1
2
3
|
2 chunks |
+17 lines, -1 line |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/battor_trace_agent.py
|
View
|
1
2
3
|
3 chunks |
+57 lines, -13 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/battor_trace_agent_unittest.py
|
View
|
1
|
6 chunks |
+6 lines, -1 line |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/ftrace_agent.py
|
View
|
1
2
3
|
6 chunks |
+41 lines, -14 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_agents/ftrace_agent_unittest.py
|
View
|
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
systrace/systrace/tracing_controller.py
|
View
|
1
2
3
4
5
6
7
|
6 chunks |
+22 lines, -22 lines |
0 comments
|
Download
|
 |
M |
telemetry/telemetry/internal/platform/tracing_agent/atrace_tracing_agent.py
|
View
|
1
2
3
4
5
|
2 chunks |
+11 lines, -26 lines |
0 comments
|
Download
|
Total messages: 24 (5 generated)
|