函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\events\callchain.c Create Date:2022-07-27 15:03:57
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:put_callchain_buffers

函数原型:void put_callchain_buffers(void)

返回类型:void

参数:

146  如果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
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.
调用者
名称描述
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