Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_array_destroy

Proto:int trace_array_destroy(struct trace_array *this_tr)

Type:int

Parameter:

TypeParameterName
struct trace_array *this_tr
8639  If Not this_tr Then Return -EINVAL
8642  mutex_lock( & event_mutex)
8643  mutex_lock( & race_types_lock is used to protect the trace_types list.)
8645  ret = -ENODEV
8649  If tr == this_tr Then
8650  ret = __remove_instance(tr)
8651  Break
8655  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.
8656  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.
8658  Return ret