函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_branch.c Create Date:2022-07-27 13:21:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:annotate_branch_stat_show

函数原型:static int annotate_branch_stat_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *v
299  p等于v
303  f等于branch_stat_process_file( & data)
305  如果非constant则返回:branch_stat_show_normal(m, & data, f)
308  l等于snprintf - Format a string and place it in a buffer*@buf: The buffer to place the result into*@size: The size of the buffer, including the trailing null space*@fmt: The format string to use*@
309  l等于如果l大于8则0否则8减l
311  seq_printf(m, "%8lu/%lu %*lu ", correct, constant, l, incorrect)
313  branch_stat_show(m, & data, f)
314  返回:0