函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_graph_prologue

函数原型:static void print_graph_prologue(struct trace_iterator *iter, struct trace_seq *s, int type, unsigned long addr, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct trace_iterator *iter
struct trace_seq *s
inttype
unsigned longaddr
unsigned intflags
722  data等于private
723  ent等于ent
724  tr等于tr
725  cpu等于cpu
728  If the pid changed since the last trace, output this event
730  如果typeprint_graph_irq(iter, addr, type, cpu, pid, flags)
734  如果非trace_flags按位与TRACE_ITER_CONTEXT_INFO的值则返回
738  如果flags按位与TRACE_GRAPH_PRINT_ABS_TIMEprint_graph_abs_time(ts, s)
742  如果flags按位与TRACE_GRAPH_PRINT_REL_TIMEprint_graph_rel_time(iter, s)
746  如果flags按位与TRACE_GRAPH_PRINT_CPUprint_graph_cpu(s, cpu)
750  如果flags按位与TRACE_GRAPH_PRINT_PROC
751  print_graph_proc(s, pid)
752  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
756  如果trace_flags按位与TRACE_ITER_LATENCY_FMTprint_graph_lat_fmt(s, ent)
759  返回
调用者
名称描述
print_graph_entry
print_graph_return
print_graph_comment