Call stack sampling
AssigneeArm Limited
InventorAlasdair Grant
Life of this patent
Estimating the term…
Loading patent…
AssigneeArm Limited
InventorAlasdair Grant
Estimating the term…
Apparatuses and methods of their operation are disclosed. A call stack is maintained which comprises subroutine information relating to subroutines which have been called during data processing operations and have not yet returned. A stack pointer is indicative of an extremity of the call stack associated with a most recently called subroutine which has been called during the data processing operations and has not yet returned. Call stack sampling can be carried out with reference to the stack pointer. A tide mark pointer is maintained, which indicates of a value which the stack pointer had when the call stack sampling procedure processing circuitry was last completed. The call stack sampling procedure comprises retrieving subroutine information from the call stack indicated between the value of the tide mark pointer and the current value of the stack pointer. More efficient call stack sampling is thereby supported, in that only modifications to the call stack need be sampled.
Apparatus comprising:
A method of data processing comprising:
Apparatus comprising:
Dependencies are inferred from the claim text.