Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:hist_show

Proto:static int hist_show(struct seq_file *m, void *v)

Type:int

Parameter:

TypeParameterName
struct seq_file *m
void *v
5558  n = 0 , ret = 0
5560  mutex_lock( & event_mutex)
5562  event_file = event_file_data(private)
5563  If Value for the false possibility is greater at compile time(!event_file) Then
5564  ret = -ENODEV
5565  Go to out_unlock
5569  If trigger_type == ETT_EVENT_HIST Then hist_trigger_show(m, data, n++)
5573  out_unlock :
5574  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.
5576  Return ret