Diff for /src/sys/kern/subr_prof.c between versions 1.8 and 1.9

version 1.8, 2003/10/12 23:38:53 version 1.9, 2004/06/01 22:19:30
Line 79  nullfunc_profiled() Line 79  nullfunc_profiled()
 #endif /* GUPROF */  #endif /* GUPROF */
   
 static void  static void
kmstartup(dummy)kmstartup(void *dummy)
        void *dummy; 
 {  {
         char *cp;          char *cp;
         struct gmonparam *p = &_gmonparam;          struct gmonparam *p = &_gmonparam;
Line 394  profil(struct profil_args *uap) Line 393  profil(struct profil_args *uap)
  * inaccurate.   * inaccurate.
  */   */
 void  void
addupc_intr(p, pc, ticks)addupc_intr(struct proc *p, u_long pc, u_int ticks)
        struct proc *p; 
        u_long pc; 
        u_int ticks; 
 {  {
         struct uprof *prof;          struct uprof *prof;
         caddr_t addr;          caddr_t addr;
Line 424  addupc_intr(p, pc, ticks) Line 420  addupc_intr(p, pc, ticks)
  * update fails, we simply turn off profiling.   * update fails, we simply turn off profiling.
  */   */
 void  void
addupc_task(p, pc, ticks)addupc_task(struct proc *p, u_long pc, u_int ticks)
        struct proc *p; 
        u_long pc; 
        u_int ticks; 
 {  {
         struct uprof *prof;          struct uprof *prof;
         caddr_t addr;          caddr_t addr;

Removed from v.1.8  
changed lines
  Added in v.1.9