[NTOSKRNL] Implement (it's a bit raw for now!) the !filecache command in KDBG

This commit is contained in:
Pierre Schweitzer 2018-01-24 21:45:37 +01:00
parent 9d1e16663a
commit cb52c82125
No known key found for this signature in database
GPG key ID: 7545556C3D585B0B
2 changed files with 57 additions and 0 deletions

View file

@ -93,6 +93,7 @@ static BOOLEAN KdbpCmdDmesg(ULONG Argc, PCHAR Argv[]);
BOOLEAN ExpKdbgExtPool(ULONG Argc, PCHAR Argv[]);
BOOLEAN ExpKdbgExtPoolUsed(ULONG Argc, PCHAR Argv[]);
BOOLEAN ExpKdbgExtFileCache(ULONG Argc, PCHAR Argv[]);
#ifdef __ROS_DWARF__
static BOOLEAN KdbpCmdPrintStruct(ULONG Argc, PCHAR Argv[]);
@ -186,6 +187,7 @@ static const struct
{ "help", "help", "Display help screen.", KdbpCmdHelp },
{ "!pool", "!pool [Address [Flags]]", "Display information about pool allocations.", ExpKdbgExtPool },
{ "!poolused", "!poolused [Flags [Tag]]", "Display pool usage.", ExpKdbgExtPoolUsed },
{ "!filecache", "!filecache", "Display cache usage.", ExpKdbgExtFileCache },
};
/* FUNCTIONS *****************************************************************/