函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:tracepoint_printk_sysctl

函数原型:int tracepoint_printk_sysctl(struct ctl_table *table, int write, void __user *buffer, size_t *lenp, loff_t *ppos)

返回类型:int

参数:

类型参数名称
struct ctl_table *table
intwrite
void __user *buffer
size_t *lenp
loff_t *ppos
2647  mutex_lock( & tracepoint_printk_mutex)
2648  save_tracepoint_printk等于tracepoint_printk
2650  ret等于读sysctl整数向量
2656  如果非Pipe tracepoints to printk tracepoint_printk等于0
2659  如果save_tracepoint_printk恒等于tracepoint_printk则转到:out
2662  如果tracepoint_printkstatic_key_enable( & key)
2664  否则static_key_disable( & key)
2667  out :
2668  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.
2670  返回:ret