Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:31:44 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__perf_mux_hrtimer_init
Proto:static void __perf_mux_hrtimer_init(struct perf_cpu_context *cpuctx, int cpu)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_cpu_context * | cpuctx | |
| int | cpu |
| 1093 | If task_ctx_nr == perf_sw_context Then Return |
| 1100 | interval = hrtimer_interval_ms |
| 1101 | If interval < 1 Then interval = hrtimer_interval_ms = set default to be dependent on timer tick just* like original code |
| 1104 | hrtimer_interval = ns_to_ktime(NSEC_PER_MSEC * interval) |
| 1106 | raw_spin_lock_init( & hrtimer_lock) |
| Name | Describe |
|---|---|
| perf_pmu_register |
| 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 |