Reputation: 361
There are a lot of kdb_*
functions under Linux Kernel source path /kernel/debug/kdb
, like the function kdb_lsmod
. I wonder where these functions are used, and how to invoke these functions when debugging a Linux Kernel.
Upvotes: 0
Views: 49
Reputation: 69276
Those functions mostly define commands that you can directly run from KDB. You can see the commands defined in kdb_inittab()
. For example the kdb_lsmod()
function you are talking about can be invoked through the lsmod
command in KDB.
Upvotes: 1