The "page" and the "cache" kernel debugger commands set a few temporary
variables, now. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35903 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2795,6 +2795,8 @@ dump_cache(int argc, char** argv)
|
|||||||
} else
|
} else
|
||||||
kprintf("\t%ld in cache\n", cache->page_count);
|
kprintf("\t%ld in cache\n", cache->page_count);
|
||||||
|
|
||||||
|
set_debug_variable("_sourceCache", (addr_t)cache->source);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -740,6 +740,11 @@ dump_page(int argc, char **argv)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_debug_variable("_cache", (addr_t)page->Cache());
|
||||||
|
#if DEBUG_PAGE_ACCESS
|
||||||
|
set_debug_variable("_accessor", page->accessing_thread);
|
||||||
|
#endif
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user