Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:33:08 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Enable an event
Proto:static void _perf_event_enable(struct perf_event *event)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event |
| 2831 | If state >= PERF_EVENT_STATE_INACTIVE || state < PERF_EVENT_STATE_ERROR Then |
| 2833 | raw_spin_unlock_irq( & Protect the states of the events in the list,* nr_active, and the list:) |
| 2834 | Return |
| 2844 | If state == PERF_EVENT_STATE_ERROR Then state = PERF_EVENT_STATE_OFF |
| 2846 | raw_spin_unlock_irq( & Protect the states of the events in the list,* nr_active, and the list:) |
| Name | Describe |
|---|---|
| perf_event_enable | See perf_event_disable(); |
| _perf_event_refresh | |
| perf_event_modify_breakpoint |
| 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 |