函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\trace\trace_events_hist.c Create Date:2022-07-27 13:42:51
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:hist_show

函数原型:static int hist_show(struct seq_file *m, void *v)

返回类型:int

参数:

类型参数名称
struct seq_file *m
void *v
5558  n等于0, ret等于0
5560  mutex_lock( & event_mutex)
5562  event_file等于event_file_data(private)
5563  如果此条件成立可能性小(为编译器优化)(!event_file)则
5564  ret等于负ENODEV
5565  转到:out_unlock
5569  如果trigger_type恒等于ETT_EVENT_HISThist_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  返回:ret