• 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
17syntax = "proto2";
18option optimize_for = LITE_RUNTIME;
19
20package perfetto.protos;
21
22// Values from NDK's android/log.h.
23enum AndroidLogId {
24  LID_DEFAULT = 0;  // MAIN.
25  LID_RADIO = 1;
26  LID_EVENTS = 2;
27  LID_SYSTEM = 3;
28  LID_CRASH = 4;
29  LID_STATS = 5;
30  LID_SECURITY = 6;
31  LID_KERNEL = 7;
32}
33
34enum AndroidLogPriority {
35  PRIO_UNSPECIFIED = 0;
36  PRIO_UNUSED = 1;  // _DEFAULT, but should never be seen in logs.
37  PRIO_VERBOSE = 2;
38  PRIO_DEBUG = 3;
39  PRIO_INFO = 4;
40  PRIO_WARN = 5;
41  PRIO_ERROR = 6;
42  PRIO_FATAL = 7;
43}
44