diff options
author | jake <jake@FreeBSD.org> | 2001-10-20 16:09:50 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2001-10-20 16:09:50 +0000 |
commit | b8032ff6ca3c8fa0c2639f1a989d050276f3d66b (patch) | |
tree | 82d84ef19d9aace1f6159a33bc51f35b9f186df8 /sys/sparc64 | |
parent | 85fc06a22927ed9b9c5e55061409e75a7e4c7412 (diff) | |
download | FreeBSD-src-b8032ff6ca3c8fa0c2639f1a989d050276f3d66b.zip FreeBSD-src-b8032ff6ca3c8fa0c2639f1a989d050276f3d66b.tar.gz |
Use KTR_PROC instead of KTR_CT1 in traces.
Diffstat (limited to 'sys/sparc64')
-rw-r--r-- | sys/sparc64/sparc64/swtch.S | 20 | ||||
-rw-r--r-- | sys/sparc64/sparc64/swtch.s | 20 |
2 files changed, 20 insertions, 20 deletions
diff --git a/sys/sparc64/sparc64/swtch.S b/sys/sparc64/sparc64/swtch.S index 9cbcacc..137ca1a 100644 --- a/sys/sparc64/sparc64/swtch.S +++ b/sys/sparc64/sparc64/swtch.S @@ -84,8 +84,8 @@ ENTRY(cpu_switch) save %sp, -CCFSZ, %sp call choosethread ldx [PCPU(CURTHREAD)], %l0 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: from=%p (%s) to=%p (%s)" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: from=%p (%s) to=%p (%s)" , %g1, %g2, %g3, 7, 8, 9) stx %l0, [%g1 + KTR_PARM1] ldx [%l0 + TD_PROC], %g2 @@ -134,8 +134,8 @@ ENTRY(cpu_switch) * the current process and pcb. */ .Lsw1: ldx [%o0 + TD_PCB], %o1 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: to=%p pc=%#lx fp=%#lx sp=%#lx cwp=%#lx" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: to=%p pc=%#lx fp=%#lx sp=%#lx cwp=%#lx" , %g1, %g2, %g3, 7, 8, 9) stx %o0, [%g1 + KTR_PARM1] ldx [%o1 + PCB_PC], %g2 @@ -170,8 +170,8 @@ ENTRY(cpu_switch) ldx [%o0 + TD_PROC], %o2 ldx [%o2 + P_VMSPACE], %o2 lduw [%o2 + VM_PMAP + PM_CONTEXT], %o3 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: to=%p vm=%p context=%#x" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: to=%p vm=%p context=%#x" , %g1, %g2, %g3, 7, 8, 9) stx %o0, [%g1 + KTR_PARM1] stx %o2, [%g1 + KTR_PARM2] @@ -205,8 +205,8 @@ ENTRY(cpu_switch) ldx [%l0 + TD_PROC], %l1 ldx [%l1 + P_VMSPACE], %l1 lduw [%l1 + VM_PMAP + PM_CONTEXT], %l3 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: from=%p vm=%p context=%#x" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: from=%p vm=%p context=%#x" , %g1, %g2, %g3, 7, 8, 9) stx %l0, [%g1 + KTR_PARM1] stx %l1, [%g1 + KTR_PARM2] @@ -250,8 +250,8 @@ ENTRY(cpu_switch) * Done. Return and load the new process's window from the stack. */ 3: -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: return td=%p (%s)" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: return td=%p (%s)" , %g1, %g2, %g3, 7, 8, 9) ldx [PCPU(CURTHREAD)], %g2 stx %g2, [%g1 + KTR_PARM1] diff --git a/sys/sparc64/sparc64/swtch.s b/sys/sparc64/sparc64/swtch.s index 9cbcacc..137ca1a 100644 --- a/sys/sparc64/sparc64/swtch.s +++ b/sys/sparc64/sparc64/swtch.s @@ -84,8 +84,8 @@ ENTRY(cpu_switch) save %sp, -CCFSZ, %sp call choosethread ldx [PCPU(CURTHREAD)], %l0 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: from=%p (%s) to=%p (%s)" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: from=%p (%s) to=%p (%s)" , %g1, %g2, %g3, 7, 8, 9) stx %l0, [%g1 + KTR_PARM1] ldx [%l0 + TD_PROC], %g2 @@ -134,8 +134,8 @@ ENTRY(cpu_switch) * the current process and pcb. */ .Lsw1: ldx [%o0 + TD_PCB], %o1 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: to=%p pc=%#lx fp=%#lx sp=%#lx cwp=%#lx" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: to=%p pc=%#lx fp=%#lx sp=%#lx cwp=%#lx" , %g1, %g2, %g3, 7, 8, 9) stx %o0, [%g1 + KTR_PARM1] ldx [%o1 + PCB_PC], %g2 @@ -170,8 +170,8 @@ ENTRY(cpu_switch) ldx [%o0 + TD_PROC], %o2 ldx [%o2 + P_VMSPACE], %o2 lduw [%o2 + VM_PMAP + PM_CONTEXT], %o3 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: to=%p vm=%p context=%#x" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: to=%p vm=%p context=%#x" , %g1, %g2, %g3, 7, 8, 9) stx %o0, [%g1 + KTR_PARM1] stx %o2, [%g1 + KTR_PARM2] @@ -205,8 +205,8 @@ ENTRY(cpu_switch) ldx [%l0 + TD_PROC], %l1 ldx [%l1 + P_VMSPACE], %l1 lduw [%l1 + VM_PMAP + PM_CONTEXT], %l3 -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: from=%p vm=%p context=%#x" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: from=%p vm=%p context=%#x" , %g1, %g2, %g3, 7, 8, 9) stx %l0, [%g1 + KTR_PARM1] stx %l1, [%g1 + KTR_PARM2] @@ -250,8 +250,8 @@ ENTRY(cpu_switch) * Done. Return and load the new process's window from the stack. */ 3: -#if KTR_COMPILE & KTR_CT1 - CATR(KTR_CT1, "cpu_switch: return td=%p (%s)" +#if KTR_COMPILE & KTR_PROC + CATR(KTR_PROC, "cpu_switch: return td=%p (%s)" , %g1, %g2, %g3, 7, 8, 9) ldx [PCPU(CURTHREAD)], %g2 stx %g2, [%g1 + KTR_PARM1] |