Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\uprobes.c Create Date:2022-07-28 13:44:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:vaddr_to_offset

Proto:static loff_t vaddr_to_offset(struct vm_area_struct *vma, unsigned long vaddr)

Type:loff_t

Parameter:

TypeParameterName
struct vm_area_struct *vma
unsigned longvaddr
138  Return (Offset (within vm_file) in PAGE_SIZEunits << PAGE_SHIFT determines the page size ) + vaddr - Our start address within vm_mm.
Caller
NameDescribe
uprobe_write_opcodeNOTE:* Expect the breakpoint instruction to be the smallest size instruction for* the architecture
register_for_each_vma
build_probe_listFor a given range in vma, build a list of probes that need to be inserted.
vma_has_uprobes
find_active_uprobe