Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:TRACE_STACK

Proto:static enum print_line_t trace_stack_print(struct trace_iterator *iter, int flags, struct trace_event *event)

Type:enum print_line_t

Parameter:

TypeParameterName
struct trace_iterator *iter
intflags
struct trace_event *event
1066  s = The below is zeroed out in pipe_read
1070  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, ent)
1071  end = ent + ent_size
1073  trace_seq_puts(s, "<stack trace>\n")
1075  When p && p < end && p != ULONG_MAX cycle
1077  If race_seq_has_overflowed - return true if the trace_seq took too much*@s: trace sequence descriptor* Returns true if too much data was added to the trace_seq and it is* now full and will not take anymore. Then Break
1080  trace_seq_puts(s, " => ")
1081  seq_print_ip_sym(s, * p, flags)
1082  trace_seq_putc(s, '\n')
1085  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.