| Function report | 
| Source Code: kernel\trace\trace_irqsoff.c | Create Date:2022-07-28 12:09:25 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:stop_critical_timing
Proto:static inline __attribute__((__always_inline__)) void stop_critical_timing(unsigned long ip, unsigned long parent_ip, int pc)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| unsigned long | ip | |
| unsigned long | parent_ip | |
| int | pc | 
| 409 | tr = irqsoff_trace | 
| 415 | If Value for the false possibility is greater at compile time(per_cpu(tracing_cpu, cpu)) Then per_cpu(tracing_cpu, cpu) = 0 | 
| 417 | Else Return | 
| 423 | data = per_cpu_ptr(data, cpu) | 
| 425 | If Value for the false possibility is greater at compile time(!data) || Not critical_start || atomic_read( & disabled) Then Return | 
| 429 | atomic_inc( & disabled) | 
| 431 | local_save_flags(flags) | 
| 434 | critical_start = 0 | 
| 435 | atomic_dec( & disabled) | 
| Name | Describe | 
|---|---|
| stop_critical_timings | |
| tracer_hardirqs_on | We are only interested in hardirq on/off events: | 
| tracer_preempt_on | 
| 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 |