Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:TODO add a seq_buf_to_buffer()

Proto:static ssize_t trace_seq_to_buffer(struct trace_seq *s, void *buf, size_t cnt)

Type:ssize_t

Parameter:

TypeParameterName
struct trace_seq *s
void *buf
size_tcnt
1502  If race_seq_used - amount of actual data written to buffer*@s: trace sequence descriptor* Returns the amount of data written to the buffer.* IMPORTANT!* Use this instead of @s->seq.len if you need to pass the amount <= readpos Then Return -EBUSY
1505  len = race_seq_used - amount of actual data written to buffer*@s: trace sequence descriptor* Returns the amount of data written to the buffer.* IMPORTANT!* Use this instead of @s->seq.len if you need to pass the amount - readpos
1506  If cnt > len Then cnt = len
1508  No 3D Now!(buf, buffer + readpos, cnt)
1510  readpos += cnt
1511  Return cnt
Caller
NameDescribe
tracing_splice_read_pipe