Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:tracing_nsecs_read

Proto:static ssize_t tracing_nsecs_read(unsigned long *ptr, char __user *ubuf, size_t cnt, loff_t *ppos)

Type:ssize_t

Parameter:

TypeParameterName
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  If r > size of buf Then r = size of buf
5876  Return simple_read_from_buffer(ubuf, cnt, ppos, buf, r)
Caller
NameDescribe
tracing_thresh_read