android_system_core/debuggerd/libdebuggerd
Devin Moore 4647b6b305 Add page size info to tombstone
Now that Android devices can use 16k page size, it's important that we
know what configuration the device is in when see issues.

1) If the device is in 4k mode, we see nothing new.

2) If the device is in 16k mode, we see this line in the tombstones:

Page size: 16

3) If the device is in 4k mode, but was previous in 16k mode we see:

Has been in 16kb mode: yes

Test: atest debuggerd_test
Test: atest debuggerd_test with ro.misctrl.16kb_before="1"
Test: adb shell cat /data/tombstones/tombstone_00
Bug: 335247092
Change-Id: If7ca3b0954a01070ff413758296460ca1d023ca5
2024-05-06 22:20:04 +00:00
..
include/libdebuggerd Read data set by android_add_crash_detail into tombstone. 2024-02-13 18:13:22 -08:00
test Read data set by android_add_crash_detail into tombstone. 2024-02-13 18:13:22 -08:00
backtrace.cpp Use the new AndroidUnwinder object. 2022-05-12 15:18:46 -07:00
gwp_asan.cpp Pass fault address to GWP-ASan's changed API. 2023-01-12 09:48:11 -08:00
open_files_list.cpp libdebuggerd: decode fdsan owner tags. 2018-08-28 13:48:08 -07:00
scudo.cpp Use correct stack depot size in __scudo_get_error 2023-12-13 22:21:19 +00:00
tombstone.cpp Remove unnecessary logging. 2022-10-27 17:56:27 -07:00
tombstone_proto.cpp Add page size info to tombstone 2024-05-06 22:20:04 +00:00
tombstone_proto_to_text.cpp Add page size info to tombstone 2024-05-06 22:20:04 +00:00
utility.cpp Move tombstone_proto_to_text out of libdebuggerd. 2023-12-05 10:14:27 +00:00