| Index: systrace/profile_chrome/perf_tracing_agent_unittest.py
|
| diff --git a/systrace/profile_chrome/perf_tracing_agent_unittest.py b/systrace/profile_chrome/perf_tracing_agent_unittest.py
|
| index 1367e9b759f3aacb0eb1fbdc56cf6eb7f9a3bb75..5229f8095d123b454c693599872d9cf187508917 100644
|
| --- a/systrace/profile_chrome/perf_tracing_agent_unittest.py
|
| +++ b/systrace/profile_chrome/perf_tracing_agent_unittest.py
|
| @@ -21,12 +21,10 @@ class PerfProfilerAgentTest(agents_unittest.BaseAgentTest):
|
| if not perf_tracing_agent.PerfProfilerAgent.IsSupported():
|
| return
|
| ui.EnableTestMode()
|
| - categories = ['cycles']
|
| - agent = perf_tracing_agent.PerfProfilerAgent(self.device,
|
| - categories)
|
| + agent = perf_tracing_agent.PerfProfilerAgent(self.device)
|
|
|
| try:
|
| - agent.StartAgentTracing(None, None)
|
| + agent.StartAgentTracing(perf_tracing_agent.PerfConfig(None))
|
| finally:
|
| agent.StopAgentTracing()
|
|
|
|
|