函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace.c Create Date:2022-07-27 13:07:23
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:tracing_resize_saved_cmdlines

函数原型:static int tracing_resize_saved_cmdlines(unsigned int val)

返回类型:int

参数:

类型参数名称
unsigned intval
5295  s等于开辟内存
5296  如果非s则返回:负ENOMEM
5299  如果allocate_cmdlines_buffer(val, s)小于0则
5300  kfree(s)
5301  返回:负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  返回:0
调用者
名称描述
tracing_saved_cmdlines_size_write