Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:perf_event_stop

Proto:static int perf_event_stop(struct perf_event *event, int restart)

Type:int

Parameter:

TypeParameterName
struct perf_event *event
intrestart
2907  struct stop_event_data sd = {event = event, restart = restart, }
2911  ret = 0
2913  Do
2914  If READ_ONCE(state) != PERF_EVENT_STATE_ACTIVE Then Return 0
2918  smp_rmb()
2925  ret = pu_function_call - call a function on the cpu*@func: the function to be called*@info: the function call argument* Calls the function @func on the remote cpu.* returns: @func return value or -ENXIO when the cpu is offline
2927  When ret == -EAGAIN cycle
2929  Return ret
Caller
NameDescribe
ring_buffer_attach
perf_event_addr_filters_execClear all file-based filters at exec, they'll have to be* re-instated when/if these objects are mmapped again.
__perf_addr_filters_adjust
perf_event_addr_filters_applyUpdate event's address range filters based on the* task's existing mappings, if any.