Function report |
Source Code:kernel\trace\trace_output.c |
Create Date:2022-07-28 12:04:48 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name: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.
Proto:int trace_print_lat_fmt(struct trace_seq *s, struct trace_entry *entry)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
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 = If If flags & TRACE_FLAG_IRQS_OFF Then 'd' Else flags & TRACE_FLAG_IRQS_NOSUPPORT Then 'X' Else '.' |
460 | Case & == TRACE_FLAG_NEED_RESCHED | TRACE_FLAG_PREEMPT_RESCHED |
461 | need_resched = 'N' |
462 | Break |
463 | Case & == TRACE_FLAG_NEED_RESCHED |
464 | need_resched = 'n' |
465 | Break |
466 | Case & == TRACE_FLAG_PREEMPT_RESCHED |
467 | need_resched = 'p' |
468 | Break |
469 | Default |
470 | need_resched = '.' |
471 | Break |
474 | hardsoft_irq = If If If If If nmi && hardirq Then 'Z' Else nmi Then 'z' Else hardirq && softirq Then 'H' Else hardirq Then 'h' Else softirq Then 's' Else '.' |
487 | Else trace_seq_putc(s, '.') |
Name | Describe |
---|---|
lat_print_generic | |
trace_print_context | |
print_graph_lat_fmt |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |