Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\time.c Create Date:2022-07-28 07:34:01
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:profile_pc

Proto:unsigned long profile_pc(struct pt_regs *regs)

Type:unsigned long

Parameter:

TypeParameterName
struct pt_regs *regs
34  pc = instruction_pointer(regs)
36  If Not ser_mode(regs) determines whether a register set came from user* mode && clude/linux/spinlock_api_up.h* spinlock API implementation on UP-nondebug (inlined implementation)* portions Copyright 2005, Red Hat, Inc., Ingo Molnar* Released under the General Public License (GPL).(pc) Then
40  sp = sp
46  If sp[0] >> 22 Then Return sp[0]
48  If sp[1] >> 22 Then Return sp[1]
52  Return pc