Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Uprobe with multiple reference counter is not allowed

Proto:static int validate_ref_ctr_offset(struct trace_uprobe *new)

Type:int

Parameter:

TypeParameterName
struct trace_uprobe *new
476  new_inode = d_real_inode - Return the real inode*@dentry: The dentry to query* If dentry is on a union/overlay, then return the underlying, real inode.* Otherwise return d_inode().
478  r_each_trace_uprobe - iterate over the trace_uprobe list*@pos: the struct trace_uprobe * for each entry*@dpos: the struct dyn_event * to use as a loop cursor(tmp, pos)
482  pr_warn("Reference counter offset mismatch.")
483  Return -EINVAL
486  Return 0
Caller
NameDescribe
register_trace_uprobeRegister a trace_uprobe and probe_event