Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_sync_stat

Proto:static void perf_event_sync_stat(struct perf_event_context *ctx, struct perf_event_context *next_ctx)

Type:void

Parameter:

TypeParameterName
struct perf_event_context *ctx
struct perf_event_context *next_ctx
3180  If Not nr_stat Then Return
3183  update_context_time(ctx)
3185  event = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & event_list, structperf_event, event_entry)
3188  next_event = list_first_entry - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.* Note, that list is expected to be not empty.( & event_list, structperf_event, event_entry)
3191  When event_entry != event_list && event_entry != event_list cycle
3194  __perf_event_sync_stat(event, next_event)
3196  event = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(event, event_entry)
3197  next_event = list_next_entry - get the next element in list*@pos: the type * to cursor*@member: the name of the list_head within the struct.(next_event, event_entry)
Caller
NameDescribe
perf_event_context_sched_out