tracefmt
Abstract
Sets the trace output format.
Syntax
tracefmt [indented | flat]
| Argument | Type | Description |
|---|---|---|
| indented | n/a | Indent traced functions with respect to the invoking function. (Default) |
| flat | n/a | Align all functions, both traced and invoking (pre-10.0 format). |
Details
None.
Example
ODB> tracefmt indented
Trace format set to “indented”.
| | +- op_pk_copy (pkptr)
| | |
| | | +- ptr_copy (org_ptr, size)
| | | | orig pointer (0xffbfd7c9)
| | | | size (98)
| | | |
| | | | +- op_sim_time ()
| | | | | sim time (1.0)
| | | | +-------
| | | | copy equal orig (0xffbfd7c9)
| | | |
| | | +-------
| | |
| | | * Kernel Action: copying packet
| | | original packet (2)
| | | copy packet (3)
| | +-------
ODB> tracefmt flat
Trace format set to “flat”.
* op_pk_copy (pkptr)
* invoking function ("ptr_copy (org_ptr, size)")
orig pointer (0xffbfd7c9)
size (98)
* op_sim_time ()
sim time (3.0)
copy equal orig (0xffbfd7c9)
* returning from function ("ptr_copy (org_ptr, size)")
* Kernel Action: copying packet
original packet (4)
copy packet (5)