函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:eval_replace

函数原型:static char *eval_replace(char *ptr, struct trace_eval_map *map, int len)

返回类型:char

参数:

类型参数名称
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  如果len小于elen则返回: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  返回:ptrelen
调用者
名称描述
update_event_printk