Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:Reset the state of the trace_iterator so that it can read consumed data.* Normally, the trace_iterator is used for reading the data when it is not* consumed, and must retain state.

Proto:static __always_inline void trace_iterator_reset(struct trace_iterator *iter)

Type:void

Parameter:

TypeParameterName
struct trace_iterator *iter
2014  offset = offsetof(structtrace_iterator, seq)
2020  memset((char * )iter + offset, 0, sizeof(structtrace_iterator) - offset)
2022  pos = -1
Caller
NameDescribe
ftrace_dump
ftrace_dump_buf