Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:XXX PERF_SAMPLE_READ vs inherited events seems difficult.* The problem is that its both hard and excessively expensive to iterate the* child list, not to mention that its impossible to IPI the children running* on another CPU, from interrupt/NMI context.

Proto:static void perf_output_read(struct perf_output_handle *handle, struct perf_event *event)

Type:void

Parameter:

TypeParameterName
struct perf_output_handle *handle
struct perf_event *event
6537  enabled = 0 , running = 0
6538  read_format = read_format
6549  If read_format & PERF_FORMAT_TOTAL_TIMES Then calc_timer_values(event, & now, & enabled, & running)
6552  If read_format & PERF_FORMAT_GROUP Then perf_output_read_group(handle, event, enabled, running)
6554  Else perf_output_read_one(handle, event, enabled, running)
Caller
NameDescribe
perf_output_sample
perf_event_read_event