函数逻辑报告 |
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 |
注解内核,赢得工具 | 下载SCCT | English |
函数名称: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等于如果如果如果如果如果nmi且hardirq则'Z'否则nmi则'z'否则hardirq且softirq则'H'否则hardirq则'h'否则softirq则's'否则'.' |
487 | 否则trace_seq_putc(s, '.') |
490 | 返回:非跟踪泛滥 |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |