summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/mm.py
diff options
context:
space:
mode:
authorAmery Hung <ameryhung@gmail.com>2025-08-06 09:25:38 -0700
committerMartin KaFai Lau <martin.lau@kernel.org>2025-08-06 13:39:58 -0700
commitd87a513d093726d121dd5c816e26803111a259d0 (patch)
tree478265f73c6c33b13dd6e234d8dc7bd57a63a39f /scripts/gdb/linux/mm.py
parentf3af62b6cee8af9f07012051874af2d2a451f0e5 (diff)
bpf: Allow struct_ops to get map id by kdata
Add bpf_struct_ops_id() to enable struct_ops implementors to use struct_ops map id as the unique id of a struct_ops in their subsystem. A subsystem that wishes to create a mapping between id and struct_ops instance pointer can update the mapping accordingly during bpf_struct_ops::reg(), unreg(), and update(). Signed-off-by: Amery Hung <ameryhung@gmail.com> Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org> Link: https://patch.msgid.link/20250806162540.681679-2-ameryhung@gmail.com
Diffstat (limited to 'scripts/gdb/linux/mm.py')
0 files changed, 0 insertions, 0 deletions