Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\livepatch\patch.c Create Date:2022-07-28 10:31:07
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:klp_find_ops

Proto:struct klp_ops *klp_find_ops(void *old_func)

Type:struct klp_ops

Parameter:

TypeParameterName
void *old_func
31  func = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & func_stack, structklp_func, stack_node)
33  If rnal == old_func Then Return ops
37  Return NULL
Caller
NameDescribe
klp_unpatch_func
klp_patch_func
klp_check_stack_funcDetermine whether the given stack trace includes any references to a* to-be-patched or to-be-unpatched function.