Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\profile.c Create Date:2022-07-28 10:37:32
Last Modify:2020-03-17 15:11:09 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:do_profile_hits

Proto:static void do_profile_hits(int type, void *__pc, unsigned int nr_hits)

Type:void

Parameter:

TypeParameterName
inttype
void *__pc
unsigned intnr_hits
389  pc = __pc - Usage guidelines:* _text, _data: architecture specific, don't use them in arch-independent code* [_stext, _etext]: contains .text.* sections, may also contain .rodata.** and/or .init.* sections* [_sdata, _edata]: contains >> prof_shift
390  atomic_add(nr_hits, & prof_buffer[min - return minimum of two values of the same or compatible types*@x: first value*@y: second value(pc, prof_len - 1)])
Caller
NameDescribe
profile_hits