Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_run_command

Proto:int trace_run_command(const char *buf, int (*createfn)(int , char **))

Type:int

Parameter:

TypeParameterName
const char *buf
int (*createfn
9169  argc = 0
9170  ret = 0
9171  argv = argv_split - split a string at whitespace, returning an argv*@gfp: the GFP mask used to allocate memory*@str: the string to be split*@argcp: returned argument count* Returns an array of pointers to strings which are split out from*@str
9172  If Not argv Then Return -ENOMEM
9175  If argc Then ret = createfn(argc, argv)
9178  argv_free - free an argv*@argv - the argument vector to be freed* Frees an argv and the strings it points to.
9180  Return ret
Caller
NameDescribe
trace_parse_run_command
setup_boot_kprobe_events