函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_probe_args

函数原型:static inline int print_probe_args(struct trace_seq *s, struct probe_arg *args, int nr_args, u8 *data, void *field)

返回类型:int

参数:

类型参数名称
struct trace_seq *s
struct probe_arg *args
intnr_args
u8 *data
void *field
223 i小于nr_args循环
224  a等于argsi
226  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
230  继续下一循环
232  race_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines
233  p等于data Offset from argument entry
234 j小于 Array count 循环
235  如果非Print functions (s, p, field)则返回:负ENOMEM
238  p加等于Byte size of type
241  返回:0
调用者
名称描述
print_kprobe_eventEvent entry printers
print_kretprobe_event
print_uprobe_eventEvent entry printers