Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\core.c Create Date:2022-07-28 13:34:03
Last Modify:2022-05-20 07:50:19 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:perf_event_task_tick

Proto:void perf_event_task_tick(void)

Type:void

Parameter:Nothing

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(smp_processor_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.