Function report |
Source Code:kernel\events\core.c |
Create Date:2022-07-28 13:34:35 |
| Last Modify:2022-05-20 07:50:19 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:unaccount_event
Proto:static void unaccount_event(struct perf_event *event)
Type:void
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct perf_event * | event |
| 4446 | bool dec = false |
| 4448 | If parent Then Return |
| 4451 | If attach_state & PERF_ATTACH_TASK Then dec = true |
| 4453 | If mmap || mmap_data Then atomic_dec( & nr_mmap_events) |
| 4455 | If comm Then atomic_dec( & nr_comm_events) |
| 4457 | If namespaces Then atomic_dec( & nr_namespaces_events) |
| 4459 | If task Then atomic_dec( & nr_task_events) |
| 4461 | If freq Then unaccount_freq_event() |
| 4463 | If context_switch Then |
| 4464 | dec = true |
| 4465 | atomic_dec( & nr_switch_events) |
| 4467 | If is_cgroup_event(event) Then dec = true |
| 4469 | If has_branch_stack(event) Then dec = true |
| 4471 | If ksymbol Then atomic_dec( & nr_ksymbol_events) |
| 4473 | If bpf_event Then atomic_dec( & nr_bpf_events) |
| 4476 | If dec Then |
| 4481 | unaccount_event_cpu(event, cpu) |
| 4483 | unaccount_pmu_sb_event(event) |
| Name | Describe |
|---|---|
| _free_event |
| 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 |