Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:last_cmd_set

Proto:static void last_cmd_set(struct trace_event_file *file, char *str)

Type:void

Parameter:

TypeParameterName
struct trace_event_file *file
char *str
606  const char * system = NULL, * name = NULL
609  If Not str Then Return
612  strncpy(last_cmd, str, Should handle KSYM_SYMBOL_LEN - 1)
614  If file Then
615  call = event_call
617  system = system
618  If system Then
620  If Not name Then system = NULL
625  If system 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*@
Caller
NameDescribe
event_hist_trigger_func