PTrace Reference Manual

PTrace Commands
PTrace Reference Manual526393-001
3-28
SELMASK Command
then Ptrace Select key shows the keyword. If you did not specify the trace file
(through the FROM command), then Ptrace Select key shows the enumerated
value.
The SELECT command accepts all valid keywords including those that translate
into bit masks; however, the confirmation text displays the 32-bit mask value only if
that value is nonzero.
The enumerated list of keywords (or the numeric values, if no trace file is currently
open) is always displayed.
Examples: SELECT Command
SELMASK Command
If your subsystem supports record selection through bit masks, you use the SELMASK
command to select records for display. The SELMASK command selects the 32-bit
mask trace option value.
?SELECT L2 Sets the selection mask for level 2.
?SELECT L2,L3 Sets the selection mask for level 2 and level 3.
?SELECT (L2,L3) Same as above.
SELECT CURRENT,DI,DO Displays activity specified previously and adds
physical data in and out.
?FROM TIOLAN Specifies the name of a trace file.
?SELECT (IOS,5) Selects both a keyword (IOS) and an enumerated
value (5).
Ptrace Select mask: 1000 0000 0000 0000 0000 0000 0000 0101
Ptrace Select Key: IOS MUX
?SELECT (LCB,OCB,20) Selects keywords (LCB and OCB) and an
enumerated value (20).
Ptrace Select Key: LCB OCB 20
?SELECT (L0,L1) Selects keywords (L0 and L1).
Ptrace Select Mask: 1100 0000 0000 0000 0000 0000 0000 0000
Ptrace Select Key: None
?SELECT CURRENT,LCB,20 Selects the current selection criteria from the
previous SELECT command, plus a keyword (LCB)
and an enumerated value (20).
Ptrace Select Mask: 1100 0000 0000 0000 0000 0000 0000 0000
Ptrace Select Key: LCB 20
SELMASK value