Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\include\asm\msr.h Create Date:2022-07-28 05:34:56
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:native_read_msr

Proto:static inline unsigned long long native_read_msr(unsigned int msr)

Type:unsigned long long

Parameter:

TypeParameterName
unsigned intmsr
129  val = __rdmsr() and __wrmsr() are the two primitives which are the bare minimum MSR* accessors and should not have any tracing or other functionality piggybacking* on them - those are *purely* for accessing MSRs and nothing more
131  If msr_tracepoint_active(__tracepoint_read_msr) Then do_trace_read_msr(msr, val, 0)
134  Return val