From: Konrad Rzeszutek Wilk Date: Wed, 22 Dec 2010 13:57:30 +0000 (-0500) Subject: xen/debugfs: Add 'p2m' file for printing out the P2M layout. X-Git-Tag: v2.6.39-rc1~521^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2222e71bd6eff7b2ad026d4ee663b6327c5a49f5;p=pandora-kernel.git xen/debugfs: Add 'p2m' file for printing out the P2M layout. We walk over the whole P2M tree and construct a simplified view of which PFN regions belong to what level and what type they are. Only enabled if CONFIG_XEN_DEBUG_FS is set. [v2: UNKN->UNKNOWN, use uninitialized_var] [v3: Rebased on top of mmu->p2m code split] [v4: Fixed the else if] Reviewed-by: Ian Campbell Signed-off-by: Konrad Rzeszutek Wilk --- Reading git-diff-tree failed