Clean up 'q' debug key output.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kaf24@firebug.cl.cam.ac.uk committed 2005-12-31 14:33:00 +01:00
1 parent 7e127cd35f
commit 24b0fec3cf
3 files changed
+21 -21

No files matched your search

+9 -8
View File
@@ -184,11 +184,17 @@ void dump_pageframe_info(struct domain *d)
{
struct pfn_info *page;
if ( d->tot_pages < 10 )
printk("Memory pages belonging to domain %u:\n", d->domain_id);
if ( d->tot_pages >= 10 )
{
printk(" DomPage list too long to display\n");
}
else
{
list_for_each_entry ( page, &d->page_list, list )
{
printk("Page %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
printk(" DomPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), _p(page_to_pfn(page)),
page->count_info, page->u.inuse.type_info);
}
@@ -196,15 +202,10 @@ void dump_pageframe_info(struct domain *d)
list_for_each_entry ( page, &d->xenpage_list, list )
{
printk("XenPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
printk(" XenPage %p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), _p(page_to_pfn(page)),
page->count_info, page->u.inuse.type_info);
}
page = virt_to_page(d->shared_info);
printk("Shared_info@%p: mfn=%p, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), _p(page_to_pfn(page)), page->count_info,
page->u.inuse.type_info);
}
struct vcpu *alloc_vcpu_struct(struct domain *d, unsigned int vcpu_id)
+11 -12
View File
@@ -110,13 +110,11 @@ static void do_task_queues(unsigned char key)
for_each_domain ( d )
{
printk("Xen: DOM %u, flags=%lx refcnt=%d nr_pages=%d "
"xenheap_pages=%d\n", d->domain_id, d->domain_flags,
atomic_read(&d->refcnt), d->tot_pages, d->xenheap_pages);
/* The handle is printed according to the OSF DCE UUID spec., even
though it is not necessarily such a thing, for ease of use when it
_is_ one of those. */
printk(" handle=%02x%02x%02x%02x-%02x%02x-%02x%02x-"
printk("General information for domain %u:\n", d->domain_id);
printk(" flags=%lx refcnt=%d nr_pages=%d xenheap_pages=%d\n",
d->domain_flags, atomic_read(&d->refcnt),
d->tot_pages, d->xenheap_pages);
printk(" handle=%02x%02x%02x%02x-%02x%02x-%02x%02x-"
"%02x%02x-%02x%02x%02x%02x%02x%02x\n",
d->handle[ 0], d->handle[ 1], d->handle[ 2], d->handle[ 3],
d->handle[ 4], d->handle[ 5], d->handle[ 6], d->handle[ 7],
@@ -127,16 +125,17 @@ static void do_task_queues(unsigned char key)
dump_pageframe_info(d);
printk("VCPU information and callbacks for domain %u:\n",
d->domain_id);
for_each_vcpu ( d, v ) {
printk("Guest: %p CPU %d [has=%c] flags=%lx "
"upcall_pend = %02x, upcall_mask = %02x\n", v,
v->processor,
printk(" VCPU%d: CPU%d [has=%c] flags=%lx "
"upcall_pend = %02x, upcall_mask = %02x\n",
v->vcpu_id, v->processor,
test_bit(_VCPUF_running, &v->vcpu_flags) ? 'T':'F',
v->vcpu_flags,
v->vcpu_info->evtchn_upcall_pending,
v->vcpu_info->evtchn_upcall_mask);
printk("Notifying guest... %d/%d\n", d->domain_id, v->vcpu_id);
printk("port %d/%d stat %d %d %d\n",
printk(" Notifying guest (virq %d, port %d, stat %d/%d/%d)\n",
VIRQ_DEBUG, v->virq_to_evtchn[VIRQ_DEBUG],
test_bit(v->virq_to_evtchn[VIRQ_DEBUG],
&d->shared_info->evtchn_pending[0]),
+1 -1
View File
@@ -381,7 +381,7 @@ void rangeset_domain_printk(
{
struct rangeset *r;
printk("Rangesets belonging to domain %d:\n", d->domain_id);
printk("Rangesets belonging to domain %u:\n", d->domain_id);
spin_lock(&d->rangesets_lock);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.