函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_output.c Create Date:2022-07-27 13:11:59
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:TRACE_HWLAT

函数原型:static enum print_line_t trace_hwlat_print(struct trace_iterator *iter, int flags, struct trace_event *event)

返回类型:enum print_line_t

参数:

类型参数名称
struct trace_iterator *iter
intflags
struct trace_event *event
1155  entry等于ent
1156  s等于 The below is zeroed out in pipe_read
1159  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)
1161  Currently only defined when tracing is enabled.
1168  如果nmi_count
1173  如果非IS_ENABLED(CONFIG_FOO) evaluates to 1 if CONFIG_FOO is set to 'y' or 'm',* 0 otherwise.(CONFIG_GENERIC_SCHED_CLOCK)则Currently only defined when tracing is enabled.
1176  Currently only defined when tracing is enabled.
1180  trace_seq_putc(s, '\n')
1182  返回: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.