fulltrace

Abstract

Enables or disables full tracing. Full tracing includes displaying banners for all events, displaying trace messages for every Kernel Procedure invocation, and enabling all labeled trace actions.

Syntax

fulltrace

Argument Type Description
no arguments

Details

By default, full tracing is disabled. If full tracing is disabled, invoking fulltrace enables it; if full tracing is enabled, invoking fulltrace disables it. Full tracing causes invocations of the KP op_prg_odb_ltrace_active() to return 1 regardless of the passed label argument, thus enabling all user-defined actions associated with labeled traces.

Example

____________________________ (ODB 18.6.0: Event) ____________________________

    * Time   :  12.0 sec, [12s]
    * Event  :  execution ID (27), schedule ID (#26), type (self intrpt)
    * Source :  execution ID (19), top.pksw1.node_2.src [Objid=33] (processor)
    * Data   :  code (1)
    > Module :  top.pksw1.node_2.src [Objid=33] (processor) [process id: 4]


ODB> fulltrace
fulltrace is now enabled

ODB> next

          _________Invoking process ID (4)_________

          +- process ("simple_source")
          |
          | _________state (generate): exit executives_________
          |
          | +- op_intrpt_code ()
          | |       code             (1)
          | +-------
          |
          | _________computing transition conditions_________
          |
          | _________evaluating condition "STOP"_________
          |
          | _________evaluated false_________
          |
          | _________evaluating condition "PACKET_GENERATE"_________
          |
          | _________evaluated true_________
          |
          | _________transition from state (generate) to state (generate)_________
          |
          | * condition: "PACKET_GENERATE"
          |
          | * executive: "ss_packet_generate()"
          |
          | +- ss_packet_generate ()
          | |
          | | +- oms_dist_outcome (dist_handle)
          | | |
          | | | +- op_dist_outcome (dist_ptr)
          | | | |       dist. ptr.       (0x02798F28)
          | | | |       distribution     (constant (1024))
          | | | |       outcome          (1,024)
          | | | +-------
          | | |
          | | +-------
          | |
          | | +- op_pk_create_fmt (format_name)
          | | |       format name      (pksw_format_ref)
          | | |       packet ID        (10)
          | | +-------
          | |
          | | +- op_pk_total_size_set (pkptr, total_size)
          | | |       packet ID        (10)
          | | |       total size       (1,024)
          | | |       completion code  (success)
          | | +-------
          | |
          | | +- op_stat_write (stath, value)
          | | |       stat name        (Traffic Sent (packets/sec))
          | | |       stat value       (1.0)
          | | +-------
          | |
          | | +- op_stat_write (stath, value)
          | | |       stat name        (Traffic Sent (packets/sec))
          | | |       stat value       (0.0)
          | | +-------
          | |
          | | +- op_stat_write (stath, value)
          | | |       stat name        (Traffic Sent (bits/sec))
          | | |       stat value       (1,024)
          | | +-------
          | |
          | | +- op_stat_write (stath, value)
          | | |       stat name        (Traffic Sent (bits/sec))
          | | |       stat value       (0.0)
          | | +-------
          | |
          | | +- op_stat_write (stath, value)
          | | |       stat name        (Packet Size (bits))
          | | |       stat value       (1,024)
          | | +-------
          | |
          | | +- op_stat_write (stath, value)
          | | |       stat name        (Packet Interarrival Time (secs))
          | | |       stat value       (1.0)
          | | +-------
          | |
          | | +- op_pk_send (pkptr, outstrm_index)
          | | |       packet ID        (10)
          | | |       stream index     (0)
          | | |       event ID         (33)
          | | +-------
          | |
          | +-------
          |
          | _________state (generate): enter executives_________
          |
          | +- oms_dist_outcome (dist_handle)
          | |
          | | +- op_dist_outcome (dist_ptr)
          | | |       dist. ptr.       (0x02798EE0)
          | | |       distribution     (constant (1))
          | | |       outcome          (1.0)
          | | +-------
          | |
          | +-------
          |
          | +- op_sim_time ()
          | |       sim time         (12.0 sec. [12s])
          | +-------
          |
          | +- op_intrpt_schedule_self (time, code)
          | |       time             (13.0 sec. [13s])
          | |       code             (1)
          | |       event ID         (34)
          | +-------
          |
          +-------

          _________Returning from process ID (4)_________


____________________________ (ODB 18.6.0: Event) ____________________________

    * Time   :  12.0 sec, [12s]
    * Event  :  execution ID (28), schedule ID (#28), type (self intrpt)
    * Source :  execution ID (20), top.pksw1.node_3.src [Objid=44] (processor)
    * Data   :  code (1)
    > Module :  top.pksw1.node_3.src [Objid=44] (processor) [process id: 6]

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · Documentation compiled and provided by Beijing ZNetLink Technology Co., Ltd.

交流群 · QQ Group:OPNET/智网妙算网络仿真交流群(群号 486383494)

原文档 © 2017 Riverbed Technology · 本站为公益翻译,由 AI 辅助完成,请仔细甄别

Original documentation © 2017 Riverbed Technology. Community translation, AI-assisted. Contact: jiazequn@znetlink.com