Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_kprobe_show

Proto:static int trace_kprobe_show(struct seq_file *m, struct dyn_event *ev)

Type:int

Parameter:

TypeParameterName
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  If Not symbol name Then seq_printf(m, " 0x%p", location of the probe point )
926  Else if Offset into the symbol Then seq_printf(m, " %s+%u", trace_kprobe_symbol(tk), Offset into the symbol )
929  Else seq_printf(m, " %s", trace_kprobe_symbol(tk))
932  When i < nr_args cycle seq_printf(m, " %s=%s", Name of this argument , Command of this argument )
934  seq_putc(m, '\n')
936  Return 0
Caller
NameDescribe
probes_seq_show