函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:print_func_help_header_irq

函数原型:static void print_func_help_header_irq(struct trace_buffer *buf, struct seq_file *m, unsigned int flags)

返回类型:void

参数:

类型参数名称
struct trace_buffer *buf
struct seq_file *m
unsigned intflags
3706  tgid等于flags按位与TRACE_ITER_RECORD_TGID
3707  space等于" "
3708  prec等于如果tgid则10否则2
3710  print_event_info(buf, m)
3712  seq_printf(m, "# %.*s _-----=> irqs-off\n", prec, space)
3713  seq_printf(m, "# %.*s / _----=> need-resched\n", prec, space)
3714  seq_printf(m, "# %.*s| / _---=> hardirq/softirq\n", prec, space)
3715  seq_printf(m, "# %.*s|| / _--=> preempt-depth\n", prec, space)
3716  seq_printf(m, "# %.*s||| / delay\n", prec, space)
3717  seq_printf(m, "# TASK-PID %.*sCPU# |||| TIMESTAMP FUNCTION\n", prec, " TGID ")
3718  seq_printf(m, "# | | %.*s | |||| | |\n", prec, " | ")
调用者
名称描述
trace_default_header