android_system_core/debuggerd
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
..
client Change debuggerd client param from pid to tid 2024-01-31 23:44:01 +00:00
common/include Add ability to handle multiple intercepts per pid. 2023-10-19 15:13:59 +00:00
crasher Format all of the blueprint files. 2024-02-26 13:34:38 -08:00
handler Fix typo in comment. 2024-04-03 16:44:22 +00:00
include/debuggerd [MTE] Implement permissive (recoverable) MTE for apps 2024-03-19 11:26:02 +01:00
libdebuggerd Add page size info to tombstone 2024-05-06 22:20:04 +00:00
proto Add page size info to tombstone 2024-05-06 22:20:04 +00:00
rust/tombstoned_client Format all of the blueprint files. 2024-02-26 13:34:38 -08:00
seccomp_policy Fix up the debuggerd policy files. 2024-02-22 16:23:46 -08:00
test_permissive_mte Format all of the blueprint files. 2024-02-26 13:34:38 -08:00
tombstoned tombstoned: Rename proto tombstone before text tombstone. 2024-03-21 18:28:08 -07:00
.clang-format Remove extraneous .clang-format files 2017-03-14 14:06:31 -07:00
Android.bp Temporarily disable mte_illegal_setjump 2024-04-10 20:24:56 +00:00
crash_dump.cpp [MTE] Implement permissive (recoverable) MTE for apps 2024-03-19 11:26:02 +01:00
crash_test.cpp Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
crash_test.h Add a test to verify the dex_pc is correct. 2021-09-15 22:14:28 +00:00
debuggerd.cpp debuggerd: dump frozen Java processes 2024-01-12 14:06:43 -08:00
debuggerd_benchmark.cpp debuggerd: add pause time benchmark. 2017-12-19 16:36:04 -08:00
debuggerd_test.cpp Temporarily disable mte_illegal_setjump 2024-04-10 20:24:56 +00:00
MODULE_LICENSE_APACHE2 auto import from //depot/cupcake/@135843 2009-03-03 19:32:55 -08:00
OWNERS Remove jmgao from OWNERS files. 2021-08-10 21:42:14 -07:00
pbtombstone.cpp Reland protobuf tombstones. 2021-01-26 17:55:17 -08:00
protocol.h [MTE] Implement permissive (recoverable) MTE for apps 2024-03-19 11:26:02 +01:00
TEST_MAPPING Revert^2 "Add TEST_MAPPING for debuggerd CTS" 2024-03-01 01:52:23 +00:00
tombstone_handler.cpp Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
tombstone_handler.h Add tombstone_handler for crashes in Microdroid 2023-03-20 11:46:09 +00:00
util.cpp Fix fallback paths for dumping threads. 2022-05-27 13:05:56 -07:00
util.h Dump threads in tombstone fallback path. 2022-02-16 15:02:38 -08:00