📄 debug.c
字号:
/* common/debug.c * * vi: set autoindent tabstop=8 shiftwidth=8 : * * This file initializes the global iscsi_trace_mask * to the default tracing options * * Copyright (C) 2003 InterOperability Lab (IOL) * University of New Hampshier (UNH) * Durham, NH 03824 * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. * * The name IOL and/or UNH may not be used to endorse or promote * products derived from this software without specific prior * written permission. */#include <linux/kernel.h>#include <linux/types.h>#include "debug.h"#ifdef CONFIG_ISCSI_DEBUG__u32 iscsi_trace_mask = /*** TRACE_DEBUG | ***/ /*** TRACE_ISCSI_FULL | ***/ /*** TRACE_ISCSI | ***/ /*** TRACE_NET | ***/ /*** TRACE_BUFF | ***/ /*** TRACE_SEM | ***/ /*** TRACE_ENTER_LEAVE | ***/ /*** TRACE_MY_MEMORY | ***/ /*** TRACE_TIMERS | ***/ /*** TRACE_ERROR_RECOVERY | ***/ TRACE_ENDING;#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -