Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:race_seq_to_user - copy the squence buffer to user space*@s: trace sequence descriptor*@ubuf: The userspace memory location to copy to*@cnt: The amount to copy* Copies the sequence buffer into the userspace memory pointed to* by @ubuf

Proto:int trace_seq_to_user(struct trace_seq *s, char __user *ubuf, int cnt)

Type:int

Parameter:

TypeParameterName
struct trace_seq *s
char __user *ubuf
intcnt
375  race_seq should work with being initialized with 0s.
376  Return seq_buf_to_user - copy the squence buffer to user space*@s: seq_buf descriptor*@ubuf: The userspace memory location to copy to*@cnt: The amount to copy* Copies the sequence buffer into the userspace memory pointed to* by @ubuf
Caller
NameDescribe
tracing_read_pipeConsumer reader.
mmio_read