PERFORCE change 129153 for review

John Birrell jb at FreeBSD.org
Fri Nov 16 20:07:05 PST 2007


http://perforce.freebsd.org/chv.cgi?CH=129153

Change 129153 by jb at jb_freebsd1 on 2007/11/17 04:06:07

	Add the private pointers to structs proc and thread.

Affected files ...

.. //depot/projects/dtrace7/src/sys/sys/proc.h#2 edit

Differences ...

==== //depot/projects/dtrace7/src/sys/sys/proc.h#2 (text+ko) ====

@@ -163,6 +163,8 @@
 struct trapframe;
 struct turnstile;
 struct mqueue_notifier;
+struct kdtrace_proc;
+struct kdtrace_thread;
 
 /*
  * Here we define the two structures used for process information.
@@ -298,6 +300,7 @@
 	struct td_sched	*td_sched;	/* (*) Scheduler-specific data. */
 	struct kaudit_record	*td_ar;	/* (k) Active audit record, if any. */
 	int		td_syscalls;	/* per-thread syscall count (used by NFS :)) */
+	struct kdtrace_thread	*td_dtrace; /* (*) DTrace-specific data. */
 };
 
 struct mtx *thread_lock_block(struct thread *);
@@ -581,6 +584,7 @@
 	struct p_sched	*p_sched;	/* (*) Scheduler-specific data. */
 	STAILQ_HEAD(, ktr_request)	p_ktr;	/* (o) KTR event queue. */
 	LIST_HEAD(, mqueue_notifier)	p_mqnotifier; /* (c) mqueue notifiers.*/
+	struct kdtrace_proc	*p_dtrace; /* (*) DTrace-specific data. */
 };
 
 #define	p_session	p_pgrp->pg_session


More information about the p4-projects mailing list