This follows the amd64 process of finding what memry to dump py looking at
the kernel page tables. It also adds the standard data to the dump.
Details
Details
- Reviewers
- None
- Group Reviewers
arm64 - Commits
- rS286958: Add the kernel support for minidumps on arm64.
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
sys/arm64/arm64/minidump_machdep.c | ||
---|---|---|
19–28 ↗ | (On Diff #7715) | We should probably keep the "author and contributors" version of the license. |
Comment Actions
You have a #if 0'd dump_add_page() in get_pv_entry() in pmap.c you probably want to enable (see also the dump_drop_page() in free_pv_chunk().
See also the uma_small routines in uma_machdep.c. amd64 has to add them explicitly since they use direct map addresses and thus aren't found by the KVA loop. The symptoms would be that the dump wouldn't contain small objects (ones that use a slab size of a page).
sys/arm64/arm64/minidump_machdep.c | ||
---|---|---|
19–28 ↗ | (On Diff #7715) | peter@ confirmed he's ok with switching to the up-to-date license |