函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:perf_output_sample_regs

函数原型:static void perf_output_sample_regs(struct perf_output_handle *handle, struct pt_regs *regs, u64 mask)

返回类型:void

参数:

类型参数名称
struct perf_output_handle *handle
struct pt_regs *regs
u64mask
6140  DECLARE_BITMAP(_mask, 64)
6142  map_from_u64 - Check and swap words within u64.*@mask: source bitmap*@dst: destination bitmap* In 32-bit Big Endian kernel, when using ``(u32 *)(&val)[*]``* to read u64 mask, we will get the wrong word.* That is ``(u32 *)(&val)[0]`` gets the upper 32 bits,
6146  val等于perf_reg_value(regs, bit)
6147  perf_output_put(handle, val)
调用者
名称描述
perf_output_sample