Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_find_cmdline

Proto:void trace_find_cmdline(int pid, char comm[])

Type:void

Parameter:

TypeParameterName
intpid
charcomm
2299  Even if we don't have any preemption, we need preempt disable/enable* to be barriers, so that we don't have things like get_user/put_user* that can cause faults and scheduling migrate into our preempt-protected* region.()
2300  r sched/core.c and kernel_lock.c: ( & trace_cmdline_lock)
2302  __trace_find_cmdline(pid, comm)
2304  arch_spin_unlock( & trace_cmdline_lock)
2305  preempt_enable()
Caller
NameDescribe
lat_print_generic
trace_print_context
trace_print_lat_context
trace_ctxwake_printTRACE_CTX an TRACE_WAKE
print_graph_proc