函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:find_synthetic_field_var

函数原型:static struct hist_field *find_synthetic_field_var(struct hist_trigger_data *target_hist_data, char *system, char *event_name, char *field_name)

返回类型:struct hist_field

参数:

类型参数名称
struct hist_trigger_data *target_hist_data
char *system
char *event_name
char *field_name
3246  synthetic_name等于分配内存并置零
3247  如果非synthetic_name则返回:错误号
3250  strcpy(synthetic_name, "synthetic_")
3251  strcat(synthetic_name, field_name)
3253  event_var等于find_event_var(target_hist_data, system, event_name, synthetic_name)
3255  kfree(synthetic_name)
3257  返回:event_var
调用者
名称描述
create_field_var_histreate_field_var_hist - Automatically create a histogram and var for a field*@target_hist_data: The target hist trigger*@subsys_name: Optional subsystem name*@event_name: Optional event name*@field_name: The name of the field (and the resulting variable)*