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:30:00
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:save_comm

Proto:static inline void save_comm(char *comm, struct task_struct *task)

Type:void

Parameter:

TypeParameterName
char *comm
struct task_struct *task
2225  If Not process id Then
2226  strcpy(comm, "<idle>")
2227  Return
2230  If WARN_ON_ONCE(process id < 0) Then
2231  strcpy(comm, "<XXX>")
2232  Return
2235  strncpy(comm, * executable name, excluding path. * - normally initialized setup_new_exec() * - access it with [gs]et_task_comm() * - lock it with task_lock(), Task command name length: )
Caller
NameDescribe
hist_trigger_elt_data_init