Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:get_incorrect_percent

Proto:static inline long get_incorrect_percent(const struct ftrace_branch_data *p)

Type:long

Parameter:

TypeParameterName
const struct ftrace_branch_data *p
251  If correct Then
252  percent = incorrect * 100
253  percent /= correct + incorrect
254  Else percent = If incorrect Then 100 Else -1
257  Return percent
Caller
NameDescribe
branch_stat_show
annotated_branch_stat_cmp