diff options
author | Richard Braun <rbraun@sceen.net> | 2013-01-08 00:05:48 +0100 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2013-01-08 00:05:48 +0100 |
commit | dd961d1cef715b4c1e4fedd2f43fae6703f128ba (patch) | |
tree | 0aa1828e8ff98d366657cdd919b128b30e7063eb /kern/kalloc.h | |
parent | 392239d8c9979ac95c122b77d5d1e012f216d2ec (diff) |
Add function to dump a raw summary of the slab allocator state
The purpose of this function is to allow kernel code to display the state
of the slab caches in situations where the host_slab_info RPC wouldn't be
available, e.g. before a panic.
* kern/slab.c (slab_info): New function.
* kern/slab.h: Add declaration for slab_info.
Diffstat (limited to 'kern/kalloc.h')
0 files changed, 0 insertions, 0 deletions