函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 15:02:31
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_event_sysfs_show

函数原型:ssize_t perf_event_sysfs_show(struct device *dev, struct device_attribute *attr, char *page)

返回类型:ssize_t

参数:

类型参数名称
struct device *dev
struct device_attribute *attr
char *page
12530  pmu_attr等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(attr, structperf_pmu_events_attr, attr)
12533  如果event_str则返回:输出格式化串
12536  返回:0