prostop

Abstract

Sets a breakpoint that will stop the simulation when the specified process is about to be invoked or, optionally, when a specific interrupt occurs for the process.

Syntax

prostop <process_id> [<intrpt> [<options>]]

Argument Type Description
<process_id> integer numeric process ID of the process-of-interest
A process ID can be obtained by using the ODB commands objprint or promap, which both display lists of the existing processes associated with a specific module.
<intrpt> string [optional] type of the interrupt to trap
A list of interrupt type keywords appears in the Details section of the intstop command.
<options> int [optional] additional interrupt-specific arguments limiting which interrupts will trigger breakpoints.
See the intstop command for details.

Details

Processors and queues may create multiple processes using the KP op_pro_create() to model subsystems operating within a module. Setting a breakpoint for a specific process supports the detailed analysis of the invocations of the process without incurring the overhead of breakpointing on every interrupt received by the surrounding module. Process breakpoints are indefinite, because they remain on the pending breakpoint list after being trapped. Breakpoints may be suspended by the command suspstop, reactivated by actstop, or deleted by delstop.

Example

ODB> prostop 5
Added breakpoint #0: stop at invocation of process (5)

ODB> status

Breakpoints :
           0)  stop at invocation of process (5)


Traces :
      Full trace is disabled
      Encapsulation trace is enabled
      Execution trace is disabled
      Trace format: indented

      No other traces


Actions :
      None


Miscellaneous :
      Memory tagging is disabled


ODB> cont

__________________________ (ODB 18.6.0: Event) ____________________________

    * Time   :  2.55968921051 sec, [2s . 559ms 689us 210ns 508ps]
    * Event  :  execution ID (51), schedule ID (#69), type (stream intrpt)
    * Source :  execution ID (50), top.pksw2.hub.rcv0 (pt-pt receiver)
    * Data   :  instrm (0), packet ID (3)
    > Module :  top.pksw2.hub.hub [Objid=24] (processor) [process id: 5]

breakpoint #0 trapped : "stop at invocation of process (5)"

本站文档由 北京智网畅联科技有限公司 整理、翻译并提供 · 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