Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\kprobes.c Create Date:2022-07-28 11:36:10
Last Modify:2022-05-22 18:14:58 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kprobe_add_ksym_blacklist

Proto:int kprobe_add_ksym_blacklist(unsigned long entry)

Type:int

Parameter:

TypeParameterName
unsigned longentry
2149  offset = 0 , size = 0
2151  If Not kernel_text_address(entry) || Not Lookup an address but don't bother to find any names. Then Return -EINVAL
2155  ent = Allocation memory
2156  If Not ent Then Return -ENOMEM
2158  start_addr = entry
2159  end_addr = entry + size
2160  Initialization list head
2161  list_add_tail - add a new entry*@new: new entry to be added*@head: list head to add it before* Insert a new entry before the specified head.* This is useful for implementing queues.
2163  Return size
Caller
NameDescribe
kprobe_add_area_blacklistAdd all symbols in given area into kprobe blacklist
populate_kprobe_blacklistLookup and populate the kprobe_blacklist.* Unlike the kretprobe blacklist, we'll need to determine* the range of addresses that belong to the said functions,* since a kprobe need not necessarily be at the beginning* of a function.