函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_kprobe_show

函数原型:static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev)

返回类型:int

参数:

类型参数名称
struct seq_file *m
struct dyn_event *ev
917  tk等于to_trace_kprobe(ev)
920  seq_putc(m, trace_kprobe_is_return(tk) ? 'r' : 'p')
921  seq_printf(m, ":%s/%s", trace_probe_group_name( & tp), trace_probe_name( & tp))
924  如果非symbol name seq_printf(m, " 0x%p", location of the probe point )
926  否则如果 Offset into the symbol seq_printf(m, " %s+%u", trace_kprobe_symbol(tk), Offset into the symbol )
929  否则seq_printf(m, " %s", trace_kprobe_symbol(tk))
932 i小于nr_args循环seq_printf(m, " %s=%s", Name of this argument , Command of this argument )
934  seq_putc(m, '\n')
936  返回:0
调用者
名称描述
probes_seq_show