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:20
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:annotated_branch_stat_cmp

Proto:static int annotated_branch_stat_cmp(const void *p1, const void *p2)

Type:int

Parameter:

TypeParameterName
const void *p1
const void *p2
337  a = p1
338  b = p2
342  percent_a = get_incorrect_percent(a)
343  percent_b = get_incorrect_percent(b)
345  If percent_a < percent_b Then Return -1
347  If percent_a > percent_b Then Return 1
350  If incorrect < incorrect Then Return -1
352  If incorrect > incorrect Then Return 1
360  If correct > correct Then Return -1
362  If correct < correct Then Return 1
365  Return 0