Closed Asphaltt closed 6 months ago
When run list_bpf_progs() in drgn shell, it's meaningless to pass args to list_bpf_progs(). Therefore, let's hide args from drgn shell.
list_bpf_progs()
args
BTW, select appropriate global variables and functions to run drgn shell.
So, it's ready to add more bpf functions to inspect bpf progs, bpf maps, bpf links and so on.
When run
list_bpf_progs()
in drgn shell, it's meaningless to passargs
tolist_bpf_progs()
. Therefore, let's hideargs
from drgn shell.BTW, select appropriate global variables and functions to run drgn shell.
So, it's ready to add more bpf functions to inspect bpf progs, bpf maps, bpf links and so on.