PERFORCE change 141673 for review
John Birrell
jb at FreeBSD.org
Thu May 15 21:26:33 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=141673
Change 141673 by jb at freebsd3 on 2008/05/15 21:26:30
Cleanup stray spaces which the peanut gallery noticed.
Affected files ...
.. //depot/projects/dtrace/src/sys/kern/kern_proc.c#22 edit
Differences ...
==== //depot/projects/dtrace/src/sys/kern/kern_proc.c#22 (text+ko) ====
@@ -79,33 +79,33 @@
#include <vm/uma.h>
SDT_PROVIDER_DEFINE(proc);
-SDT_PROBE_DEFINE(proc, kernel, ctor , entry);
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , entry, 0, "struct proc *");
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , entry, 1, "int");
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , entry, 2, "void *");
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , entry, 3, "int");
-SDT_PROBE_DEFINE(proc, kernel, ctor , return);
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , return, 0, "struct proc *");
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , return, 1, "int");
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , return, 2, "void *");
-SDT_PROBE_ARGTYPE(proc, kernel, ctor , return, 3, "int");
-SDT_PROBE_DEFINE(proc, kernel, dtor , entry);
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , entry, 0, "struct proc *");
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , entry, 1, "int");
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , entry, 2, "void *");
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , entry, 3, "struct thread *");
-SDT_PROBE_DEFINE(proc, kernel, dtor , return);
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , return, 0, "struct proc *");
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , return, 1, "int");
-SDT_PROBE_ARGTYPE(proc, kernel, dtor , return, 2, "void *");
-SDT_PROBE_DEFINE(proc, kernel, init , entry);
-SDT_PROBE_ARGTYPE(proc, kernel, init , entry, 0, "struct proc *");
-SDT_PROBE_ARGTYPE(proc, kernel, init , entry, 1, "int");
-SDT_PROBE_ARGTYPE(proc, kernel, init , entry, 2, "int");
-SDT_PROBE_DEFINE(proc, kernel, init , return);
-SDT_PROBE_ARGTYPE(proc, kernel, init , return, 0, "struct proc *");
-SDT_PROBE_ARGTYPE(proc, kernel, init , return, 1, "int");
-SDT_PROBE_ARGTYPE(proc, kernel, init , return, 2, "int");
+SDT_PROBE_DEFINE(proc, kernel, ctor, entry);
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, entry, 0, "struct proc *");
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, entry, 1, "int");
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, entry, 2, "void *");
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, entry, 3, "int");
+SDT_PROBE_DEFINE(proc, kernel, ctor, return);
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, return, 0, "struct proc *");
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, return, 1, "int");
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, return, 2, "void *");
+SDT_PROBE_ARGTYPE(proc, kernel, ctor, return, 3, "int");
+SDT_PROBE_DEFINE(proc, kernel, dtor, entry);
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, entry, 0, "struct proc *");
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, entry, 1, "int");
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, entry, 2, "void *");
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, entry, 3, "struct thread *");
+SDT_PROBE_DEFINE(proc, kernel, dtor, return);
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, return, 0, "struct proc *");
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, return, 1, "int");
+SDT_PROBE_ARGTYPE(proc, kernel, dtor, return, 2, "void *");
+SDT_PROBE_DEFINE(proc, kernel, init, entry);
+SDT_PROBE_ARGTYPE(proc, kernel, init, entry, 0, "struct proc *");
+SDT_PROBE_ARGTYPE(proc, kernel, init, entry, 1, "int");
+SDT_PROBE_ARGTYPE(proc, kernel, init, entry, 2, "int");
+SDT_PROBE_DEFINE(proc, kernel, init, return);
+SDT_PROBE_ARGTYPE(proc, kernel, init, return, 0, "struct proc *");
+SDT_PROBE_ARGTYPE(proc, kernel, init, return, 1, "int");
+SDT_PROBE_ARGTYPE(proc, kernel, init, return, 2, "int");
MALLOC_DEFINE(M_PGRP, "pgrp", "process group header");
MALLOC_DEFINE(M_SESSION, "session", "session header");
@@ -191,7 +191,7 @@
/* INVARIANTS checks go here */
p = (struct proc *)mem;
td = FIRST_THREAD_IN_PROC(p);
- SDT_PROBE(proc, kernel, dtor , entry, p, size, arg, td, 0);
+ SDT_PROBE(proc, kernel, dtor, entry, p, size, arg, td, 0);
if (td != NULL) {
#ifdef INVARIANTS
KASSERT((p->p_numthreads == 1),
@@ -209,7 +209,7 @@
EVENTHANDLER_INVOKE(process_dtor, p);
if (p->p_ksi != NULL)
KASSERT(! KSI_ONQ(p->p_ksi), ("SIGCHLD queue"));
- SDT_PROBE(proc, kernel, dtor , return, p, size, arg, 0, 0);
+ SDT_PROBE(proc, kernel, dtor, return, p, size, arg, 0, 0);
}
/*
@@ -221,7 +221,7 @@
struct proc *p;
p = (struct proc *)mem;
- SDT_PROBE(proc, kernel, init , entry, p, size, flags, 0, 0);
+ SDT_PROBE(proc, kernel, init, entry, p, size, flags, 0, 0);
p->p_sched = (struct p_sched *)&p[1];
bzero(&p->p_mtx, sizeof(struct mtx));
mtx_init(&p->p_mtx, "process lock", NULL, MTX_DEF | MTX_DUPOK);
@@ -229,7 +229,7 @@
TAILQ_INIT(&p->p_threads); /* all threads in proc */
EVENTHANDLER_INVOKE(process_init, p);
p->p_stats = pstats_alloc();
- SDT_PROBE(proc, kernel, init , return, p, size, flags, 0, 0);
+ SDT_PROBE(proc, kernel, init, return, p, size, flags, 0, 0);
return (0);
}
More information about the p4-projects
mailing list