Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_kprobe_match_command_head

Proto:static bool trace_kprobe_match_command_head(struct trace_kprobe *tk, int argc, const char **argv)

Type:bool

Parameter:

TypeParameterName
struct trace_kprobe *tk
intargc
const char **argv
146  If Not argc Then Return true
149  If Not symbol name Then snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
151  Else if Offset into the symbol Then snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
154  Else snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
156  If strcmp(buf, argv[0]) Then Return false
158  argc--
158  argv++
160  Return trace_probe_match_command_args( & tp, argc, argv)
Caller
NameDescribe
trace_kprobe_match