Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\gcov\gcc_3_4.c Create Date:2022-07-28 11:32:06
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Determine whether a counter is active. Based on gcc magic. Doesn't change* at run-time.

Proto:static int counter_active(struct gcov_info *info, unsigned int type)

Type:int

Parameter:

TypeParameterName
struct gcov_info *info
unsigned inttype
164  Return 1 << type & ctr_mask
Caller
NameDescribe
num_counter_activeDetermine number of active counters. Based on gcc magic.
gcov_iter_startgcov_iter_start - reset file iterator to starting position*@iter: file iterator