Lines Matching refs:trace
396 * Note that this trace is available only to user state so we do not
883 ; Quickly cut a trace table entry for the CutTrace firmware call.
887 ; Note that this code cuts a trace table entry for the CutTrace call only.
911 lwz r23,traceMask(0) ; Get the trace mask
921 ; We select a trace entry using a compare and swap on the next entry field.
922 ; Since we do not lock the actual trace buffer, there is a potential that
926 li r23,trcWork ; Get the trace work area address
927 lwz r21,traceStart(0) ; Get the start of trace table
928 lwz r22,traceEnd(0) ; Get end of trace table
933 addi r24,r20,LTR_size ; Point to the next trace entry
934 cmplw r24,r22 ; Do we need to wrap the trace table?
935 bne+ ctgte32s ; No wrap, we got us a trace entry...
947 dcbz 0,r20 ; Clear and allocate first trace line
959 ; Let us cut that trace entry now.
961 ; Note that this code cuts a trace table entry for the CutTrace call only.
1049 lwz r23,traceMask(0) ; Get the trace mask
1058 ; We select a trace entry using a compare and swap on the next entry field.
1059 ; Since we do not lock the actual trace buffer, there is a potential that
1063 li r23,trcWork ; Get the trace work area address
1064 lwz r21,traceStart(0) ; Get the start of trace table
1065 lwz r22,traceEnd(0) ; Get end of trace table
1070 addi r24,r20,LTR_size ; Point to the next trace entry
1071 cmplw r24,r22 ; Do we need to wrap the trace table?
1072 bne++ ctgte64s ; No wrap, we got us a trace entry...
1084 dcbz128 0,r20 ; Zap the trace entry
1089 ; Let us cut that trace entry now.
1091 ; Note that this code cuts a trace table entry for the CutTrace call only.
1452 ; Time for us to get a new savearea and then trace interrupt if it is enabled.
1455 lwz r25,traceMask(0) ; Get the trace mask
1461 li r23,trcWork ; Get the trace work area address
1465 mtcrf 0x04,r7 ; Set CR5 to show trace or not
1466 and. r26,r26,r25 ; See if we trace this cpu
1475 ; We select a trace entry using a compare and swap on the next entry field.
1476 ; Since we do not lock the actual trace buffer, there is a potential that
1480 lwz r25,traceStart(0) ; Get the start of trace table
1481 lwz r26,traceEnd(0) ; Get end of trace table
1485 addi r22,r20,LTR_size ; Point to the next trace entry
1486 cmplw r22,r26 ; Do we need to wrap the trace table?
1487 bne+ gotTrcEnt ; No wrap, we got us a trace entry...
1499 dcbz 0,r20 ; Clear and allocate first trace line
1502 ; Let us cut that trace entry now.
1504 ; Note that this code cuts a trace table entry for everything but the CutTrace call.
1784 ; Time for us to get a new savearea and then trace interrupt if it is enabled.
1787 lwz r25,traceMask(0) ; Get the trace mask
1792 li r23,trcWork ; Get the trace work area address
1797 mtcrf 0x04,r7 ; Set CR5 to show trace or not
1798 and. r26,r26,r25 ; See if we trace this cpu
1804 ; We select a trace entry using a compare and swap on the next entry field.
1805 ; Since we do not lock the actual trace buffer, there is a potential that
1809 lwz r25,traceStart(0) ; Get the start of trace table
1810 lwz r26,traceEnd(0) ; Get end of trace table
1814 addi r22,r20,LTR_size ; Point to the next trace entry
1815 cmplw r22,r26 ; Do we need to wrap the trace table?
1816 bne++ gotTrcEntSF ; No wrap, we got us a trace entry...
1830 ; Let us cut that trace entry now.
1832 ; Note that this code cuts a trace table entry for everything but the CutTrace call.
1837 dcbz128 0,r20 ; Zap the trace entry
1842 ld r0,saver0(r13) ; Get back interrupt time R0 (we need this whether we trace or not)
2997 li r2,MASK(MSR_BE)|MASK(MSR_SE) ; Get the mask to save trace bits
3002 and r3,r3,r2 ; Clear all but trace
3004 or r21,r21,r3 ; Keep the trace bits if they are on
3696 .long 0 ; 5080 The next trace entry to use
3702 .long 0 ; 5088 Start of the trace table
3703 .long 0 ; 508C End (wrap point) of the trace
3705 .long 0 ; 5094 Size of trace table (1 - 256 pages)