Function report | 
Source Code:kernel\events\core.c | 
Create Date:2022-07-28 13:39:01 | 
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:__perf_sw_event
Proto:void __perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| u32 | event_id | |
| u64 | nr | |
| struct pt_regs * | regs | |
| u64 | addr | 
| 8691 | preempt_disable_notrace() | 
| 8692 | rctx = perf_swevent_get_recursion_context() | 
| 8693 | If Value for the false possibility is greater at compile time(rctx < 0) Then Go to fail | 
| 8696 | ___perf_sw_event(event_id, nr, regs, addr) | 
| 8699 | fail : | 
| 8700 | preempt_enable_notrace() | 
| 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  |