Function report | 
Source Code:kernel\trace\trace.c | 
Create Date:2022-07-28 11:58:48 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:tracing_generic_entry_update
Proto:void tracing_generic_entry_update(struct trace_entry *entry, unsigned short type, unsigned long flags, int pc)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct trace_entry * | entry | |
| unsigned short | type | |
| unsigned long | flags | |
| int | pc | 
| 2427 | tsk = current process | 
| 2429 | preempt_count = pc & 0xff | 
| 2430 | pid = If tsk Then process id Else 0 | 
| 2432 | flags = TRACE_FLAG_IRQS_NOSUPPORT | If pc & NMI_MASK Then TRACE_FLAG_NMI Else 0 | If pc & HARDIRQ_MASK Then TRACE_FLAG_HARDIRQ Else 0 | If pc & SOFTIRQ_OFFSET Then TRACE_FLAG_SOFTIRQ Else 0 | If tif_need_resched() Then TRACE_FLAG_NEED_RESCHED Else 0 | If test_preempt_need_resched() Then TRACE_FLAG_PREEMPT_RESCHED Else 0 | 
| Name | Describe | 
|---|---|
| trace_event_setup | |
| perf_trace_buf_update | |
| parse_entry | Caller is responsible to free the *pentry. | 
| 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  |