Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_resize_saved_cmdlines

Proto:static int tracing_resize_saved_cmdlines(unsigned int val)

Type:int

Parameter:

TypeParameterName
unsigned intval
5295  s = Allocation memory
5296  If Not s Then Return -ENOMEM
5299  If allocate_cmdlines_buffer(val, s) < 0 Then
5300  kfree(s)
5301  Return -ENOMEM
5304  r sched/core.c and kernel_lock.c: ( & trace_cmdline_lock)
5305  savedcmd_temp = savedcmd
5306  savedcmd = s
5307  arch_spin_unlock( & trace_cmdline_lock)
5308  free_saved_cmdlines_buffer(savedcmd_temp)
5310  Return 0
Caller
NameDescribe
tracing_saved_cmdlines_size_write