Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:eval_replace

Proto:static char *eval_replace(char *ptr, struct trace_eval_map *map, int len)

Type:char

Parameter:

TypeParameterName
char *ptr
struct trace_eval_map *map
intlen
2143  elen = 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*@
2145  If len < elen Then Return NULL
2148  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*@
2151  rlen = strlen - Find the length of a string*@s: The string to be sized
2152  memmove(ptr + elen, ptr + len, rlen)
2154  ptr[elen + rlen] = 0
2156  Return ptr + elen
Caller
NameDescribe
update_event_printk