函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-27 14:53:19
Last Modify:2022-05-20 07:50:19 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:perf_event_task_tick

函数原型:void perf_event_task_tick(void)

返回类型:void

参数:

3897  head等于this_cpu_ptr( & active_ctx_list)
3901  lockdep_assert_irqs_disabled()
3903  __this_cpu_inc(perf_throttled_seq)
3904  throttled等于__this_cpu_xchg(perf_throttled_count, 0)
3905  tick_dep_clear_cpu(当前cpu ID(), TICK_DEP_BIT_PERF_EVENTS)
3907  list_for_each_entry_safe - iterate over list of given type safe against removal of list entry*@pos: the type * to use as a loop cursor.*@n: another type * to use as temporary storage*@head: the head for your list.(ctx, tmp, head, active_ctx_list)
3908  mbine freq adjustment with unthrottling to avoid two passes over the* events. At the same time, make sure, having freq events does not change* the rate of unthrottling as that would introduce bias.