diff options
| author | 2022-05-26 17:42:24 +0800 | |
|---|---|---|
| committer | 2022-05-26 10:36:57 +0000 | |
| commit | a7cb994b6f463b316d481ed890d3109d3595d9d7 (patch) | |
| tree | e8d37843e3f7f966a8c7bc3207ac00c0244ea0cc /api/api.go | |
| parent | 089c119f4deeb975edff0538726d27ab27d11b91 (diff) | |
Add runtime crash information to sysprops
- sys.system_server.crash_java
How many times the system server has crashed within
Java layer. sys.system_server.start_count is the time
that system_server has started.
Normally, (start_count - 1 - crash_java) is the count of
native crash or the other native processes triggered
system_server restart.
We expect the start_count is 1, and the crash_java is 0.
$ getprop | grep system_server
[sys.system_server.start_count]: [5]
[sys.system_server.crash_java]: [2]
...
Signed-off-by: duguowei <duguowei@xiaomi.corp-partner.google.com>
Change-Id: I14af2025def1ad8cb937b9e0dbd6d3a9d34c8558
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions