aboutsummaryrefslogtreecommitdiffstats
path: root/docs/misc/dump-core-format.txt
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-09 18:33:36 +0000
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-03-09 18:33:36 +0000
commit4d42d7146cfbf731bc1ed7de1732f61004caa267 (patch)
tree5b063683559b3fa1cac7b352e932924bd662583a /docs/misc/dump-core-format.txt
parenta5ca197fb5fb6996749d4954f17779b69ca9a7a2 (diff)
downloadxen-4d42d7146cfbf731bc1ed7de1732f61004caa267.tar.gz
xen-4d42d7146cfbf731bc1ed7de1732f61004caa267.tar.bz2
xen-4d42d7146cfbf731bc1ed7de1732f61004caa267.zip
dump-core: store .xen_p2m or .xen_pfn section in pfn ascending order.
So far the order isn't specified and may be random in theory. But sorted array is requested by crash utility for efficient search. Fortunately it is the case except ia64 full virtualized domain. Update document such that those array must be sorted and fix the ia64 full virtualized domain case. Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Diffstat (limited to 'docs/misc/dump-core-format.txt')
-rw-r--r--docs/misc/dump-core-format.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/docs/misc/dump-core-format.txt b/docs/misc/dump-core-format.txt
index 99384ca94a..545740b6bd 100644
--- a/docs/misc/dump-core-format.txt
+++ b/docs/misc/dump-core-format.txt
@@ -80,8 +80,7 @@ Currently the following sections are defined. Some sections are optional.
gmfn: machine physical frame number
The size of arrays is stored in xch_nr_pages member of header
note descriptor in .note.Xen note section.
- There is no rule about the order. Analysis tools must no rely
- on its order.
+ The entryies are stored in pfn-ascending order.
This section must exist when the domain is non auto
translated physmap mode. Currently x86 paravirtualized domain.
@@ -94,8 +93,7 @@ Currently the following sections are defined. Some sections are optional.
in .xen_pages section.
The size of arrays is stored in xch_nr_pages member of header
note descriptor in .note.Xen note section.
- There is no rule about the order. Analysis tools must no rely
- on its order.
+ The entries are stored in ascending order.
This section must exist when the domain is auto translated
physmap mode. Currently x86 full virtualized domain and
ia64 domain.
@@ -226,6 +224,8 @@ Currently only (major, minor) = (0, 1) is used.
[When the format is changed, it would be described here.]
(0, 1) update
+- .xen_p2m, .xen_pfn section
+ Arrays must be in pfn ascending order for efficient looking up.
- EI_CLASS member of elf header was changed to ELFCLASS64 independent of
architecture. This is mainly for x86_32pae.
The format version isn't bumped because analysis tools can distinguish it.