27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Usage Notes<br />

ASNasn<br />

specifies that an address space number (ASN) is to be used to locate the<br />

address space to be traced. The specified ASN may be one to four<br />

hexadecimal digits long. The ASN is used in conjunction with guest ASN<br />

translation tables to locate the STO of the address space to be traced.<br />

AREGareg<br />

specifies that access register translation is to be used to locate the address<br />

space to be traced. The access register (areg) is specified as one hexadecimal<br />

or two decimal digits. The ALET contained within the access register is used in<br />

conjunction with the guest access register-translation tables to locate the STO<br />

of the address space to be traced.<br />

ALEThexword<br />

specifies that access register translation is to be used to locate the address<br />

space to be traced. The ALET is used in conjunction with the guest access<br />

register-translation tables to locate the STO of the address space to be traced.<br />

ALEThexword.ALraddr<br />

restricts tracing to events in an address space using the specified access list<br />

entry token (ALET) <strong>and</strong> access list (AL). The ALET <strong>and</strong> AL are used in<br />

conjunction with the guest access register-translation tables to locate the STO<br />

of the address space to be traced.<br />

INTO range<br />

permits a trap to be taken if the destination of a successful branch instruction is<br />

within the specified range.<br />

You may specify the range as a single address or a pair of addresses<br />

separated by a period (.) or a dash. (–). A dash denotes a starting <strong>and</strong> ending<br />

range; a period denotes a starting range for a byte count. A branch destination<br />

is considered to be within the range if any byte is within the range.<br />

The addresses are real or virtual as determined by the setting of the dynamic<br />

address translation (DAT) bit in the PSW at the time the event is detected. For<br />

BRANCH tracing, the address or range of addresses can be odd or outside of<br />

the address space; the event is detected after the branch instruction, but before<br />

any attempt is made to fetch the next instruction.<br />

options<br />

For an explanation of options, see “TRACE: Options” on page 1604.<br />

TRACE BRANCH<br />

1. Your virtual machine runs very slowly after you enter the TRACE BRANCH<br />

instruction.<br />

2. While TRACE BRANCH is active, a record of branch instructions is maintained<br />

in the traceback table. You can use the TRACE TABLE comm<strong>and</strong> to display the<br />

traceback table.<br />

3. Guest control register values <strong>and</strong> translation table contents define the address<br />

space structure of the virtual machine. Program execution (<strong>and</strong> the STORE<br />

comm<strong>and</strong>) can change that structure over time. The TRACE comm<strong>and</strong><br />

oper<strong>and</strong>s that specify a guest address space to be traced by a trace trap use<br />

the current guest control register <strong>and</strong> translation table values to determine the<br />

segment table origin (STO) of the address space to be traced (at the time the<br />

TRACE comm<strong>and</strong> is issued). The STO is contained in the trace trap <strong>and</strong> can be<br />

examined using the QUERY TRACE comm<strong>and</strong>—that is, you specify an address<br />

space based on the state of your virtual machine at the time of the TRACE<br />

comm<strong>and</strong> that establishes the trace trap.<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1625

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!