函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_graph_irq

函数原型:static void print_graph_irq(struct trace_iterator *iter, unsigned long addr, enum trace_type type, int cpu, pid_t pid, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct trace_iterator *iter
unsigned longaddr
enum trace_typetype
intcpu
pid_tpid
unsigned intflags
516  tr等于tr
517  s等于 The below is zeroed out in pipe_read
518  ent等于ent
520  如果addr小于__irqentry_text_startaddr大于等于__irqentry_text_end则返回
524  如果trace_flags按位与TRACE_ITER_CONTEXT_INFO
526  如果flags按位与TRACE_GRAPH_PRINT_ABS_TIMEprint_graph_abs_time(ts, s)
530  如果flags按位与TRACE_GRAPH_PRINT_REL_TIMEprint_graph_rel_time(iter, s)
534  如果flags按位与TRACE_GRAPH_PRINT_CPUprint_graph_cpu(s, cpu)
538  如果flags按位与TRACE_GRAPH_PRINT_PROC
544  如果trace_flags按位与TRACE_ITER_LATENCY_FMTprint_graph_lat_fmt(s, ent)
549  print_graph_duration(tr, 0, s, flags | FLAGS_FILL_START)
551  如果type恒等于TRACE_GRAPH_ENTrace_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
553  否则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
556  print_graph_duration(tr, 0, s, flags | FLAGS_FILL_END)
557  race_seq_putc - trace sequence printing of simple character*@s: trace sequence descriptor*@c: simple character to record* The tracer may use either the sequence operations or its own* copy to user routines
调用者
名称描述
print_graph_entry_leafCase of a leaf function on its call entry
print_graph_prologue
print_graph_return