blob: dcab73c2a5f48ebfe442aa5a0a5a4317752d20cb [file] [log] [blame]
Suren Baghdasaryan08bfa982018-07-26 16:34:27 -07001# The entries in this file map a sparse set of log tag numbers to tag names.
2# This is installed on the device, in /system/etc, and parsed by logcat.
3#
4# Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the
5# negative values alone for now.)
6#
7# Tag names are one or more ASCII letters and numbers or underscores, i.e.
8# "[A-Z][a-z][0-9]_". Do not include spaces or punctuation (the former
9# impacts log readability, the latter makes regex searches more annoying).
10#
11# Tag numbers and names are separated by whitespace. Blank lines and lines
12# starting with '#' are ignored.
13#
14# Optionally, after the tag names can be put a description for the value(s)
15# of the tag. Description are in the format
16# (<name>|data type[|data unit])
17# Multiple values are separated by commas.
18#
19# The data type is a number from the following values:
Suren Baghdasaryan12cacae2019-09-16 12:06:30 -070020# 1: int32_t
21# 2: int64_t
Suren Baghdasaryan08bfa982018-07-26 16:34:27 -070022# 3: string
23# 4: list
Suren Baghdasaryan014dd712022-02-18 12:51:15 -080024# 5: float
Suren Baghdasaryan08bfa982018-07-26 16:34:27 -070025#
26# The data unit is a number taken from the following list:
27# 1: Number of objects
28# 2: Number of bytes
29# 3: Number of milliseconds
30# 4: Number of allocations
31# 5: Id
32# 6: Percent
33# s: Number of seconds (monotonic time)
34# Default value for data of type int/long is 2 (bytes).
35#
36# TODO: generate ".java" and ".h" files with integer constants from this file.
37
Suren Baghdasaryan12cacae2019-09-16 12:06:30 -070038# for killinfo logs
Suren Baghdasaryan014dd712022-02-18 12:51:15 -08003910195355 killinfo (Pid|1|5),(Uid|1|5),(OomAdj|1),(MinOomAdj|1),(TaskSize|1),(enum kill_reasons|1|5),(MemFree|1),(Cached|1),(SwapCached|1),(Buffers|1),(Shmem|1),(Unevictable|1),(SwapTotal|1),(SwapFree|1),(ActiveAnon|1),(InactiveAnon|1),(ActiveFile|1),(InactiveFile|1),(SReclaimable|1),(SUnreclaim|1),(KernelStack|1),(PageTables|1),(IonHeap|1),(IonHeapPool|1),(CmaFree|1),(MsSinceEvent|1),(MsSincePrevWakeup|1),(WakeupsSinceEvent|1),(SkippedWakeups|1),(TaskSwapSize|1),(GPU|1),(Thrashing|1),(MaxThrashing|1),(PsiMemSome|5),(PsiMemFull|5),(PsiIoSome|5),(PsiIoFull|5),(PsiCpuSome|5)