2018-07-27 07:34:27 +08:00
|
|
|
# The entries in this file map a sparse set of log tag numbers to tag names.
|
|
|
|
|
# This is installed on the device, in /system/etc, and parsed by logcat.
|
|
|
|
|
#
|
|
|
|
|
# Tag numbers are decimal integers, from 0 to 2^31. (Let's leave the
|
|
|
|
|
# negative values alone for now.)
|
|
|
|
|
#
|
|
|
|
|
# Tag names are one or more ASCII letters and numbers or underscores, i.e.
|
|
|
|
|
# "[A-Z][a-z][0-9]_". Do not include spaces or punctuation (the former
|
|
|
|
|
# impacts log readability, the latter makes regex searches more annoying).
|
|
|
|
|
#
|
|
|
|
|
# Tag numbers and names are separated by whitespace. Blank lines and lines
|
|
|
|
|
# starting with '#' are ignored.
|
|
|
|
|
#
|
|
|
|
|
# Optionally, after the tag names can be put a description for the value(s)
|
|
|
|
|
# of the tag. Description are in the format
|
|
|
|
|
# (<name>|data type[|data unit])
|
|
|
|
|
# Multiple values are separated by commas.
|
|
|
|
|
#
|
|
|
|
|
# The data type is a number from the following values:
|
|
|
|
|
# 1: int
|
|
|
|
|
# 2: long
|
|
|
|
|
# 3: string
|
|
|
|
|
# 4: list
|
|
|
|
|
#
|
|
|
|
|
# The data unit is a number taken from the following list:
|
|
|
|
|
# 1: Number of objects
|
|
|
|
|
# 2: Number of bytes
|
|
|
|
|
# 3: Number of milliseconds
|
|
|
|
|
# 4: Number of allocations
|
|
|
|
|
# 5: Id
|
|
|
|
|
# 6: Percent
|
|
|
|
|
# s: Number of seconds (monotonic time)
|
|
|
|
|
# Default value for data of type int/long is 2 (bytes).
|
|
|
|
|
#
|
|
|
|
|
# TODO: generate ".java" and ".h" files with integer constants from this file.
|
|
|
|
|
|
|
|
|
|
# for meminfo logs
|
2019-03-26 02:01:00 +08:00
|
|
|
10195355 meminfo (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),(ION_heap|1),(ION_heap_pool|1),(CmaFree|1)
|