Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:39:38 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:hrtimer based swevent callback
Proto:static enum hrtimer_restart perf_swevent_hrtimer(struct hrtimer *hrtimer)
Type:enum hrtimer_restart
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct hrtimer * | hrtimer |
| 9804 | ret = Timer must be restarted |
| 9812 | If state != PERF_EVENT_STATE_ACTIVE Then Return Timer is not restarted |
| 9817 | perf_sample_data_init( & data, 0, last_period) |
| 9818 | regs = get_irq_regs() |
| 9820 | If regs && Not perf_exclude_event(event, regs) Then |
| 9823 | ret = Timer is not restarted |
| 9826 | period = max_t - return maximum of two values, using the specified type*@type: data type to use*@x: first value*@y: second value(u64, 10000, sample_period) |
| 9829 | Return ret |
| 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 |