Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:mmio_print_rw

Proto:static enum print_line_t mmio_print_rw(struct trace_iterator *iter)

Type:enum print_line_t

Parameter:

TypeParameterName
struct trace_iterator *iter
169  entry = ent
172  s = The below is zeroed out in pipe_read
173  t = ns2usecs(ts)
174  usec_rem = do_div() is NOT a C function(t, USEC_PER_SEC)
175  secs = t
177  The trace_assign_type is a verifier that the entry type is* the same as the type being assigned. To add new types simply* add a line with the following format:* IF_ASSIGN(var, ent, type, id);* Where "type" is the trace type that includes the trace_entry(field, entry)
178  rw = rw
181  Case one of MMIO_{READ,WRITE,UNKNOWN_OP} == struct mmiotrace_rw
182  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
187  Break
188  Case one of MMIO_{READ,WRITE,UNKNOWN_OP} == struct mmiotrace_rw
189  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
194  Break
195  Case one of MMIO_{READ,WRITE,UNKNOWN_OP} == struct mmiotrace_rw
196  race_seq_printf - sequence printing of trace information*@s: trace sequence descriptor*@fmt: printf format string* The tracer may use either sequence operations or its own* copy to user routines
203  Break
204  Default
205  race_seq_puts - trace sequence printing of simple string*@s: trace sequence descriptor*@str: simple string to record* The tracer may use either the sequence operations or its own* copy to user routines
206  Break
209  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.
Caller
NameDescribe
mmio_print_line