函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracing_nsecs_read

函数原型:static ssize_t tracing_nsecs_read(unsigned long *ptr, char __user *ubuf, size_t cnt, loff_t *ppos)

返回类型:ssize_t

参数:

类型参数名称
unsigned long *ptr
char __user *ubuf
size_tcnt
loff_t *ppos
5872  r等于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*@
5874  如果r大于buf的长度则r等于buf的长度
5876  返回:simple_read_from_buffer(ubuf, cnt, ppos, buf, r)
调用者
名称描述
tracing_thresh_read