Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:traceprobe_set_print_fmt

Proto:int traceprobe_set_print_fmt(struct trace_probe *tp, bool is_return)

Type:int

Parameter:

TypeParameterName
struct trace_probe *tp
boolis_return
905  call = trace_probe_event_call(tp)
910  len = __set_print_fmt(tp, NULL, 0, is_return)
911  print_fmt = Allocation memory
912  If Not print_fmt Then Return -ENOMEM
916  __set_print_fmt(tp, print_fmt, len + 1, is_return)
917  print_fmt = print_fmt
919  Return 0
Caller
NameDescribe
trace_uprobe_create
trace_kprobe_create