1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 from systrace
.tracing_agents
import atrace_agent
7 class AtraceConfig(object):
8 """Stores configuration options specific to Atrace.
10 categories: List that specifies the Atrace categories to trace.
11 Example: ['sched', 'webview']
12 app_name: String or list that specifies the application name (or names)
13 on which to run application level tracing.
14 Example: 'org.chromium.webview_shell'
17 self
.categories
= atrace_agent
.DEFAULT_CATEGORIES