• PUDN用户
  • Unix_Linux
  • 1KB
  • rar
  • 0
  • 1 积分
  • 1
  • 2015-01-20 10:34
Trace lavels for debug via management interface.
  • debug_if.c
/* * Copyright (c) Eicon Technology Corporation, 2000. * This source file is supplied for the use with Eicon Technology Corporation's range of DIVA Server Adapters. * 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 OF ANY KIND WHATSOEVER INCLUDING ANY 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., 675 Mass Ave, Cambridge, MA 02139, USA. * */ #ifndef __DIVA_DEBUG_IF_H__ #define __DIVA_DEBUG_IF_H__ #define MSG_TYPE_DRV_ID 0x0001 #define MSG_TYPE_FLAGS 0x0002 #define MSG_TYPE_STRING 0x0003 #define MSG_TYPE_BINARY 0x0004 #define MSG_TYPE_MLOG 0x0005 #define MSG_FRAME_MAX_SIZE 2150 typedef struct _diva_dbg_entry_head { dword sequence; dword time_sec; dword time_usec; dword facility; dword dli; dword drv_id; dword di_cpu; dword data_length; } diva_dbg_entry_head_t; int diva_maint_init(byte *base, unsigned long length, int do_init); void *diva_maint_finit(void); dword diva_dbg_q_length(void); diva_dbg_entry_head_t *diva_maint_get_message(word *size, diva_os_spin_lock_magic_t *old_irql); void diva_maint_ack_message(int do_release, diva_os_spin_lock_magic_t *old_irql); void diva_maint_prtComp(char *format, ...); void diva_maint_wakeup_read(void); int diva_get_driver_info(dword id, byte *data, int data_length); int diva_get_driver_dbg_mask(dword id, byte *data); int diva_set_driver_dbg_mask(dword id, dword mask); void diva_mnt_remove_xdi_adapter(const DESCRIPTOR *d); void diva_mnt_add_xdi_adapter(const DESCRIPTOR *d); int diva_mnt_shutdown_xdi_adapters(void); #define DIVA_MAX_SELECTIVE_FILTER_LENGTH 127 int diva_set_trace_filter(int filter_length, const char *filter); int diva_get_trace_filter(int max_length, char *filter); #define DITRACE_CMD_GET_DRIVER_INFO 1 #define DITRACE_READ_DRIVER_DBG_MASK 2 #define DITRACE_WRITE_DRIVER_DBG_MASK 3 #define DITRACE_READ_TRACE_ENTRY 4 #define DITRACE_READ_TRACE_ENTRYS 5 #define DITRACE_WRITE_SELECTIVE_TRACE_FILTER 6 #define DITRACE_READ_SELECTIVE_TRACE_FILTER 7 /* Trace lavels for debug via management interface */ #define DIVA_MGT_DBG_TRACE 0x00000001 /* All trace messages from the card */ #define DIVA_MGT_DBG_DCHAN 0x00000002 /* All D-channel relater trace messages */ #define DIVA_MGT_DBG_MDM_PROGRESS 0x00000004 /* Modem progress events */ #define DIVA_MGT_DBG_FAX_PROGRESS 0x00000008 /* Fax progress events */ #define DIVA_MGT_DBG_IFC_STATISTICS 0x00000010 /* Interface call statistics */ #define DIVA_MGT_DBG_MDM_STATISTICS 0x00000020 /* Global modem statistics */ #define DIVA_MGT_DBG_FAX_STATISTICS 0x00000040 /* Global call statistics */ #define DIVA_MGT_DBG_LINE_EVENTS 0x00000080 /* Line state events */ #define DIVA_MGT_DBG_IFC_EVENTS 0x00000100 /* Interface/L1/L2 state events */ #define DIVA_MGT_DBG_IFC_BCHANNEL 0x00000200 /* B-Channel trace for all channels */ #define DIVA_MGT_DBG_IFC_AUDIO 0x00000400 /* Audio Tap trace for all channels */ # endif /* DEBUG_IF___H */
    • Trace.rar
    • EBS Trace tidy
      为 EBS trace 跟踪文件 格式化输出, 类似于 tkprof. 但目的不同, tkprof 更多是为了性能分析, 而这个主要是 form 中分析事务处理中, 后台数据库做了什么. 插入/更新/删除了什么, 数据来源是什么. 使用: 开启文件, ...
    • tcpTrace081
      tcpTrace I got fed up with installing Java & Apache SOAP just to get tcpTunnelGUI, so here's a native Win32 version, built using Attila (no MFC :) ). It started out as a copy of the Apache tool, but ...
    • dubbo traceid
    • tcpTrace 端口监听
      tcpTrace I got fed up with installing Java & Apache SOAP just to get tcpTunnelGUI, so here's a native Win32 version, built using Attila (no MFC :) ). It started out as a copy of the Apache tool, but ...
    • superagent-trace
      超级代理跟踪 使用跟踪应用程序中的超级代理调用 安装 npm install superagent-trace 用法 var superagent = require ( 'superagent-trace' ) ( require ( 'superagent' ) ) 执照 麻省理工学院
    • BestTrace
      VPS回程路由测试 源脚本地址 一键脚本 #下载脚本 wget ...bash 功能说明 脚本的安装目录位于/ home / testrace测试完成并退出脚本后,会生成测试的记录文件于/home/testrace/testrace.log
    • collective.traceview
      TraceView for Plone collection.traceview软件包 支持(也称为Tracelytics)添加到了Plone中。 有关更多信息,请阅读完整的。 内容 TraceView将浏览器通过前端服务器到应用程序服务器的全部请求进行计时。 ...
    • ml2ovn-trace
      ml2ovn-trace 这是围绕ovn-trace的简单包装,它将基于从openstack对象提取的值来填充数据路径,inport,eth.src,ip.src,eth.dst和ip.dst。 用法 `$ ml2ovn-trace --help用法:ml2ovn-trace [选项] 选项:-c,--...
    • Trace.rar