Protection for DAS Tracing
The references to the trace-table designation, to the trace-table-entry header,
and to a trace entry for the purpose of
DAS tracing are not subject to key
controlled protection. Low-address
protectionand segment protection do apply, however, to the store into the
current-entry-control word of theheader and into a trace entry. Instruction
execution is suppressed whenever a
protection exception is recognized that
is due to DAS tracing.
other Actions Associated with DAS Trac.i.n.g The store accesses made by DAS tracing
into the current-entry-control word of
the trace-table-entry header and into
the trace entry are monitored forPER storage-alteration events. Change recording and reference recording also
apply to the storage accesses made by
DAS tracing.Serialization for DAS Tracing
A serialization and checkpoint
synchronization functionis performed
beforethe operation begins and again
after the operationis completed. TRACE-TABLE DESIGNATION The trace-table designation is contained
in the word atlogical location 84 and
has thefollowing format.
o 1
Trace-Table-Entry-HeaderOrigin (logical)
8 29 31DAS-Trace Control: Bit 0 controls
whether implicit tracing is performed
forPROGRAM CALL, PROGRAM TRANSFER, and SET SECONDARY ASN. When this bit ;s zero, no tracing is performed during execution of these instructions. When
the bit is one, a trace entry is madeeach time one of these instructions is executed.
Trace-Table-Entry-HeaderOrigin: Bits 8-28, with three zeros appended on the right, constitute the logical address of the trace-table-entry header.
Bits 1-7 are reserved and should be
zeros. They are ignored during implicit
tracing.
Bits 29-31 mustbe zeros if the DAS trace-control bit is one and execution
ofPROGRAM CALL, PROGRAM TRANSFER, or SET SECONDARY ASN is attempted; other
wise, a specification exception is
recognized.TRACE-TABLE-ENTRY HEADER
The trace-table-entry header definesa table of 32-byte entries. One entry is
filled with information for each traced
instruction. After updating, the first
word of the header designatesthe entry
in which information isplaced for the
current instruction. The second and
third words of theheader designate the beginning and end of the table. The
trace-table-entryheader has the follow
ing format:Current-Entry First-Entry Control Control o 32
Last-EntryControl 64 95 Current-Entry Control: Bits 0-31 are updated to contain the origin of the
trace-table entryused for the current
instruction.
Toupdate the field, a 32-bit intermedi ate quantity called the next-entry
designator is formed by the logicaladdition of 32 to the 32-bit contQnts of the current-entry control, with overflow
out ofbit 0 ignored. The next-entry
designator is then logically compared
with the 32-bit contents oftho last entry control. If the next-entry
designatoris less than the contents of
the last-entry control, then the32-bit next-entry designator replaces the current-entry control. If the next
entry designator is equal to orgrp-ater than the contents of the last-entry control, then the 32-bit contents of the
first-entry control replace the contents
of the current-entry control. A specification exception is recognized if the
new value of bits 27-31 would not be
zero.
Bits0-31 are replaced by using a word
concurrent interlocked-update reference.
The field is not updated untilit is determined that no exceptions would be
encountered beforethe filling of the
current trace entry is completed or
before the current instructionis completed. This is accomplished by first fetching the contents of the
current-entrycontrol, computing the
address of the trace entry, and testing
the address for access exceptions. IfChapter 4. Control 4-13
The references to the trace-table desig
and to a trace entry for the purpose of
DAS tracing are not subject to key
controlled protection. Low-address
protection
current-entry-control word of the
execution is suppressed whenever a
protection exception is recognized that
is due to DAS tracing.
other Actions Associated with DAS Trac
into the current-entry-control word of
the trace-table-entry header and into
the trace entry are monitored for
apply to the storage accesses made by
DAS tracing.
A serialization and checkpoint
synchronization function
before
after the operation
in the word at
has the
o 1
Trace-Table-Entry-Header
8 29 31
whether implicit tracing is performed
for
the bit is one, a trace entry is made
Trace-Table-Entry-Header
Bits 1-7 are reserved and should be
zeros. They are ignored during implicit
tracing.
Bits 29-31 must
of
wise, a specification exception is
recognized.
The trace-table-entry header defines
filled with information for each traced
instruction. After updating, the first
word of the header designates
in which information is
current instruction. The second and
third words of the
trace-table-entry
ing format:
Last-Entry
trace-table entry
instruction.
To
designator is formed by the logical
out of
designator is then logically compared
with the 32-bit contents of
designator
the last-entry control, then the
entry designator is equal to or
first-entry control replace the contents
of the current-entry control. A spec
new value of bits 27-31 would not be
zero.
Bits
concurrent interlocked-update reference.
The field is not updated until
encountered before
current trace entry is completed or
before the current instruction
current-entry
address of the trace entry, and testing
the address for access exceptions. If