函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称: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.

函数原型:static void perf_output_read(struct perf_output_handle *handle, struct perf_event *event)

返回类型:void

参数:

类型参数名称
struct perf_output_handle *handle
struct perf_event *event
6537  enabled等于0, running等于0
6538  read_format等于read_format
6549  如果read_format按位与PERF_FORMAT_TOTAL_TIMEScalc_timer_values(event, & now, & enabled, & running)
6552  如果read_format按位与PERF_FORMAT_GROUPperf_output_read_group(handle, event, enabled, running)
6554  否则perf_output_read_one(handle, event, enabled, running)
调用者
名称描述
perf_output_sample
perf_event_read_event