Skip to content

Commit

Permalink
meminfo: Add meminfo corelens module
Browse files Browse the repository at this point in the history
This commit implements a meminfo corelens module that enables users to
dump detailed statistics of the memory management subsystem. The output
is similar to 'cat /proc/meminfo', which includes many aspects of the
mm subsystem.

This module supports UEK 4, 5, 6, and 7 and for both x86-64 and aarch64.
It is tested for all these above settings. For each case, this meminfo
module's output is compared against the output of `cat /proc/meminfo`.
Results match closely with only small differences.

Signed-off-by: Jianfeng Wang <[email protected]>
  • Loading branch information
jianfenw authored and brenns10 committed Nov 27, 2023
1 parent b9020b1 commit 09c5bce
Show file tree
Hide file tree
Showing 3 changed files with 726 additions and 0 deletions.
7 changes: 7 additions & 0 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,10 @@ drgn_tools.cmdline

.. automodule:: drgn_tools.cmdline
:members:


drgn_tools.meminfo
-----------------------

.. automodule:: drgn_tools.meminfo
:members:
Loading

0 comments on commit 09c5bce

Please sign in to comment.