Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:trace_event_enable_cmd_record

Proto:void trace_event_enable_cmd_record(bool enable)

Type:void

Parameter:

TypeParameterName
boolenable
323  lockdep_assert_held( & event_mutex)
325  cycle (tr = ({
325  __mptr = next
325  Do
325  When 0 cycle
325  __mptr - __builtin_offsetof(typeof( * tr), list)
325  cycle (tr = ({}); & tr->list != ( & ftrace_trace_arrays);tr = ({
325  __mptr = next
325  Do
325  When 0 cycle
325  __mptr - __builtin_offsetof(typeof( * (tr)), list)
325  }))
325  cycle (file = ({
325  __mptr = next
325  Do
325  When 0 cycle
325  __mptr - __builtin_offsetof(typeof( * file), list)
325  cycle (file = ({}); & file->list != ( & tr->events);file = ({
325  __mptr = next
325  Do
325  When 0 cycle
325  __mptr - __builtin_offsetof(typeof( * (file)), list)
325  }))
330  If enable Then
333  Else