函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:race_print_lat_fmt - print the irq, preempt and lockdep fields*@s: trace seq struct to write to*@entry: The trace entry field from the ring buffer* Prints the generic fields of irqs off, in hard or softirq, preempt* count.

函数原型:int trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry)

返回类型:int

参数:

类型参数名称
struct trace_seq *s
struct trace_entry *entry
449  nmi等于flags按位与TRACE_FLAG_NMI
450  hardirq等于flags按位与TRACE_FLAG_HARDIRQ
451  softirq等于flags按位与TRACE_FLAG_SOFTIRQ
453  irqs_off等于如果如果flags按位与TRACE_FLAG_IRQS_OFF则'd'否则flags按位与TRACE_FLAG_IRQS_NOSUPPORT则'X'否则'.'
460  : & == TRACE_FLAG_NEED_RESCHED | TRACE_FLAG_PREEMPT_RESCHED
461  need_resched等于'N'
462  退出
463  : & == TRACE_FLAG_NEED_RESCHED
464  need_resched等于'n'
465  退出
466  : & == TRACE_FLAG_PREEMPT_RESCHED
467  need_resched等于'p'
468  退出
469  默认
470  need_resched等于'.'
471  退出
474  hardsoft_irq等于如果如果如果如果如果nmihardirq则'Z'否则nmi则'z'否则hardirqsoftirq则'H'否则hardirq则'h'否则softirq则's'否则'.'
482  Currently only defined when tracing is enabled.
485  如果preempt_countCurrently only defined when tracing is enabled.
487  否则trace_seq_putc(s, '.')
490  返回:非跟踪泛滥
调用者
名称描述
lat_print_generic
trace_print_context
print_graph_lat_fmt