什么是android event_log中的“ am_pss”

gla*_*man 1 android

以下日志的含义是什么?

01-01 00:51:58.596157   994  1077 I am_pss  : [994,1000,system,96750592,90464256]
Run Code Online (Sandbox Code Playgroud)

我很感谢谁可以帮助澄清这一点。非常感谢您的帮助。

小智 5

am_pss (Pid|1|5),(UID|1|5),(Process Name|3),(Pss|2|2),(Uss|2|2)
Both pss and uss in bytes if "2" means bytes
Run Code Online (Sandbox Code Playgroud)

请参考这个

https://android.googlesource.com/platform/system/core/+/donut-release/logcat/event-log-tags
Run Code Online (Sandbox Code Playgroud)

https://android.googlesource.com/platform/frameworks/base/+/master/services/core/java/com/android/server/am/EventLogTags.logtags

根据Google的EventLogTags,am_pss是“报告进程使用的内存的集合”。因此:垃圾回收被触发。