Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_array_get

Proto:int trace_array_get(struct trace_array *this_tr)

Type:int

Parameter:

TypeParameterName
struct trace_array *this_tr
283  ret = -ENODEV
285  mutex_lock( & trace_types_lock)
287  If tr == this_tr Then
288  ref++
289  ret = 0
290  Break
293  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.
295  Return ret
Caller
NameDescribe
tracing_check_open_get_tr
subsystem_open