Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_raw_output_prep

Proto:int trace_raw_output_prep(struct trace_iterator *iter, struct trace_event *trace_event)

Type:int

Parameter:

TypeParameterName
struct trace_iterator *iter
struct trace_event *trace_event
296  s = The below is zeroed out in pipe_read
297  p = trace_seq for __print_flags() and __print_symbolic() etc.
300  event = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(trace_event, structtrace_event_call, event)
301  entry = ent
303  If type != type Then
304  WARN_ON_ONCE(1)
305  Return Relay to other output functions
308  trace_seq_init(p)
309  Currently only defined when tracing is enabled.
311  Return Several functions return TRACE_TYPE_PARTIAL_LINE if the trace_seq* overflowed, and TRACE_TYPE_HANDLED otherwise. This helper function* simplifies those functions and keeps them in sync.