函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:trace_ctxwake_hex

函数原型:static int trace_ctxwake_hex(struct trace_iterator *iter, char S)

返回类型:int

参数:

类型参数名称
struct trace_iterator *iter
charS
985  s等于 The below is zeroed out in pipe_read
988  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)
990  如果非SS等于task_index_to_char(prev_state)
992  T等于task_index_to_char(next_state)
994  SEQ_PUT_HEX_FIELD(s, prev_pid)
995  SEQ_PUT_HEX_FIELD(s, prev_prio)
996  SEQ_PUT_HEX_FIELD(s, S)
997  SEQ_PUT_HEX_FIELD(s, next_cpu)
998  SEQ_PUT_HEX_FIELD(s, next_pid)
999  SEQ_PUT_HEX_FIELD(s, next_prio)
1000  SEQ_PUT_HEX_FIELD(s, T)
1002  返回: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.
调用者
名称描述
trace_ctx_hex
trace_wake_hex