• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package android.hardware.atrace@1.0;
18
19enum Status : uint32_t {
20    /**
21     * Operation completed without errors.
22     */
23    SUCCESS = 0,
24    /**
25     * Operation failed with errors on enabling tracing point.
26     */
27    ERROR_TRACING_POINT = 1,
28    /**
29     * Operation failed because of invalid argument.
30     */
31    ERROR_INVALID_ARGUMENT = 2
32};
33
34struct TracingCategory {
35    /**
36     * Tracing category name, unique to frameworks's category.
37     */
38    string name;
39    /**
40     * Tracing category description.
41     */
42    string description;
43};
44