函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_uprobe.c Create Date:2022-07-27 13:56:39
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:uprobe_dispatcher

函数原型:static int uprobe_dispatcher(struct uprobe_consumer *con, struct pt_regs *regs)

返回类型:int

参数:

类型参数名称
struct uprobe_consumer *con
struct pt_regs *regs
1461  ret等于0
1464  tu等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(con, structtrace_uprobe, consumer)
1465  nhit自加
1467  tu等于tu
1468  bp_addr等于instruction_pointer(regs)
1470  vaddr = (unsigned long) & udd
1472  如果WARN_ON_ONCE(!uprobe_cpu_buffer)则返回:0
1475  dsize等于Sum up total data length for dynamic arraies (strings)
1476  esize等于SIZEOF_TRACE_ENTRY(is_ret_probe(tu))
1478  ucb等于uprobe_buffer_get()
1479  Store the value of each argument
1481  如果trace_probe_test_flag( & tp, Flags for trace_probe )则ret或等于probe handler
1488  uprobe_buffer_put(ucb)
1489  返回:ret