Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:31:09 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:__get_cpu_context
Proto:static inline struct perf_cpu_context *__get_cpu_context(struct perf_event_context *ctx)
Type:struct perf_cpu_context
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event_context * | ctx |
| 148 | Return this_cpu_ptr(pmu_cpu_context) |
| Name | Describe |
|---|---|
| event_function | |
| event_function_local | Similar to event_function_call() + event_function(), but hard assumes IRQs* are already disabled and we're on the right CPU. |
| perf_put_aux_event | |
| __perf_install_in_context | Cross CPU call to install and enable a performance event* Very similar to remote_function() + event_function() but cannot assume that* things like ctx->is_active and cpuctx->task_ctx are set. |
| perf_event_context_sched_out | |
| perf_event_context_sched_in | |
| perf_event_enable_on_exec | Enable all of a task's events that have been marked enable-on-exec.* This expects task == current. |
| __perf_event_read | Cross CPU call to read the hardware event |
| perf_event_exit_task_context | |
| __perf_event_exit_context |
| 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 |