Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:__set_synth_event_print_fmt

Proto:static int __set_synth_event_print_fmt(struct synth_event *event, char *buf, int len)

Type:int

Parameter:

TypeParameterName
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  When i < n_fields cycle
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  When i < n_fields cycle
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  Return pos
Caller
NameDescribe
set_synth_event_print_fmt