Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:gcov_enable_events - enable event reporting through gcov_event()* Turn on reporting of profiling data load/unload-events through the* gcov_event() callback

Proto:void gcov_enable_events(void)

Type:void

Parameter:Nothing

38  struct gcov_info * info = NULL
40  mutex_lock( & gcov_lock)
41  gcov_events_enabled = 1
44  When info = gcov_info_next(info) cycle
45  Callback to create/remove profiling files when code compiled with* -fprofile-arcs is loaded/unloaded.
46  cond_resched()
49  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
gcov_fs_initCreate debugfs entries.