Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2008 06:58:34 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 132614 for review
Message-ID:  <200801060658.m066wYW4055564@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=132614

Change 132614 by jb@jb_freebsd1 on 2008/01/06 06:58:21

	Add the global variables and it might be helpful to actually
	include the option header to check if the option is enabled.
	A bit sub-optimal otherwise. Heh.

Affected files ...

.. //depot/projects/dtrace/src/sys/kern/sched_4bsd.c#30 edit
.. //depot/projects/dtrace/src/sys/kern/sched_ule.c#23 edit

Differences ...

==== //depot/projects/dtrace/src/sys/kern/sched_4bsd.c#30 (text+ko) ====

@@ -36,6 +36,7 @@
 __FBSDID("$FreeBSD: src/sys/kern/sched_4bsd.c,v 1.112 2007/12/15 23:13:31 jeff Exp $");
 
 #include "opt_hwpmc_hooks.h"
+#include "opt_kdtrace.h"
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -61,6 +62,8 @@
 
 #ifdef KDTRACE_HOOKS
 #include <sys/dtrace_bsd.h>
+int				dtrace_vtime_active;
+dtrace_vtime_switch_func_t	dtrace_vtime_switch_func;
 #endif
 
 /*

==== //depot/projects/dtrace/src/sys/kern/sched_ule.c#23 (text+ko) ====

@@ -39,6 +39,7 @@
 __FBSDID("$FreeBSD: src/sys/kern/sched_ule.c,v 1.220 2007/12/21 23:30:18 wkoszek Exp $");
 
 #include "opt_hwpmc_hooks.h"
+#include "opt_kdtrace.h"
 #include "opt_sched.h"
 
 #include <sys/param.h>
@@ -70,6 +71,8 @@
 
 #ifdef KDTRACE_HOOKS
 #include <sys/dtrace_bsd.h>
+int				dtrace_vtime_active;
+dtrace_vtime_switch_func_t	dtrace_vtime_switch_func;
 #endif
 
 #include <machine/cpu.h>



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