Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:See the comment before kcov_remote_start() for usage details.

Proto:void kcov_remote_stop(void)

Type:void

Parameter:Nothing

878  t = current process
879  kcov = kcov
880  area = kcov_area
881  size = kcov_size
882  sequence = kcov_sequence
884  If Not kcov Then
885  kcov_debug("no kcov found\n")
886  Return
889  kcov_stop(t)
890  kcov = NULL
892  spin_lock( & The lock protects mode, size, area and t. )
897  kcov_debug("move if: %d == %d && %d\n", sequence, Sequence is incremented each time kcov is reenabled, used by* kcov_remote_stop(), see the comment there., (int)Collecting coverage from remote (background) threads. )
899  If sequence == Sequence is incremented each time kcov is reenabled, used by* kcov_remote_stop(), see the comment there. && Collecting coverage from remote (background) threads. Then kcov_move_area(mode, Coverage buffer shared with user space. , Size of arena (in long's). , area)
901  spin_unlock( & The lock protects mode, size, area and t. )
903  spin_lock( & kcov_remote_lock)
904  Must be called with kcov_remote_lock locked.
905  spin_unlock( & kcov_remote_lock)
907  kcov_put(kcov)