Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2012 15:59:18 +0000 (UTC)
From:      Andreas Tobler <andreast@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r231019 - head/sys/powerpc/aim
Message-ID:  <201202051559.q15FxIMQ089920@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: andreast
Date: Sun Feb  5 15:59:18 2012
New Revision: 231019
URL: http://svn.freebsd.org/changeset/base/231019

Log:
  Revert the _NOPROF entries on cpu_throw, cpu_switch and savectx. They can be
  profiled too now.
  
  MFC after:	2 weeks

Modified:
  head/sys/powerpc/aim/swtch64.S

Modified: head/sys/powerpc/aim/swtch64.S
==============================================================================
--- head/sys/powerpc/aim/swtch64.S	Sun Feb  5 15:54:32 2012	(r231018)
+++ head/sys/powerpc/aim/swtch64.S	Sun Feb  5 15:59:18 2012	(r231019)
@@ -68,7 +68,7 @@
 /*
  * void cpu_throw(struct thread *old, struct thread *new)
  */
-ENTRY_NOPROF(cpu_throw)
+ENTRY(cpu_throw)
 	mr	%r13, %r4
 	b	cpu_switchin
 
@@ -79,7 +79,7 @@ ENTRY_NOPROF(cpu_throw)
  *
  * Switch to a new thread saving the current state in the old thread.
  */
-ENTRY_NOPROF(cpu_switch)
+ENTRY(cpu_switch)
 	ld	%r6,TD_PCB(%r3)		/* Get the old thread's PCB ptr */
 	std	%r12,PCB_CONTEXT(%r6)	/* Save the non-volatile GP regs.
 					   These can now be used for scratch */
@@ -237,7 +237,7 @@ blocked_loop:
  * savectx(pcb)
  * Update pcb, saving current processor state
  */
-ENTRY_NOPROF(savectx)
+ENTRY(savectx)
 	std	%r12,PCB_CONTEXT(%r3)	/* Save the non-volatile GP regs. */
 	std	%r13,PCB_CONTEXT+1*8(%r3)	
 	std	%r14,PCB_CONTEXT+2*8(%r3)	



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202051559.q15FxIMQ089920>