函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:get_tracing_log_err

函数原型:static struct tracing_log_err *get_tracing_log_err(struct trace_array *tr)

返回类型:struct tracing_log_err

参数:

类型参数名称
struct trace_array *tr
7074  如果n_err_log_entries小于TRACING_LOG_ERRS_MAX
7075  err等于分配内存并置零
7076  如果非errerr等于错误号
7078  n_err_log_entries自加
7080  返回:err
7083  err等于list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & err_log, structtracing_log_err, list)
7084  删除链表项
7086  返回:err
调用者
名称描述
tracing_log_errracing_log_err - write an error to the tracing error log*@tr: The associated trace array for the error (NULL for top level array)*@loc: A string describing where the error occurred*@cmd: The tracing command that caused the error*@errs: The array of