Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:41:52
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_event_sysfs_show

Proto:ssize_t perf_event_sysfs_show(struct device *dev, struct device_attribute *attr, char *page)

Type:ssize_t

Parameter:

TypeParameterName
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  If event_str Then Return sprintf(page, "%s\n", event_str)
12536  Return 0