Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\callchain.c Create Date:2022-07-28 13:43:02
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:put_callchain_buffers

Proto:void put_callchain_buffers(void)

Type:void

Parameter:Nothing

146  If atomic_dec_and_mutex_lock - return holding mutex if we dec to 0*@cnt: the atomic which we are to dec*@lock: the mutex to return holding if we dec to 0* return true and hold lock if we dec to 0, return false otherwise Then
147  release_callchain_buffers()
148  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
Caller
NameDescribe
stack_map_allocCalled from syscall
stack_map_freeCalled when map->refcnt goes to zero, either from workqueue or from syscall
_free_event
perf_event_allocAllocate and initialize an event structure