函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:__set_synth_event_print_fmt

函数原型:static int __set_synth_event_print_fmt(struct synth_event *event, char *buf, int len)

返回类型:int

参数:

类型参数名称
struct synth_event *event
char *buf
intlen
958  pos等于0
964  pos加等于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*@
965 i小于n_fields循环
966  fmt等于synth_field_fmt(type)
967  pos加等于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*@
971  pos加等于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*@
973 i小于n_fields循环
974  pos加等于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*@
981  返回:pos
调用者
名称描述
set_synth_event_print_fmt