mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-17 15:27:36 +00:00
Remove remnants of PGINPROF.
This commit is contained in:
parent
fe96d560de
commit
f55530b436
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130239
@ -184,11 +184,6 @@ exit1(struct thread *td, int rv)
|
||||
mtx_unlock(&ppeers_lock);
|
||||
}
|
||||
|
||||
#ifdef PGINPROF
|
||||
mtx_lock(&Giant);
|
||||
vmsizmon();
|
||||
mtx_unlock(&Giant);
|
||||
#endif
|
||||
PROC_LOCK(p);
|
||||
_STOPEVENT(p, S_EXIT, rv);
|
||||
wakeup(&p->p_stype); /* Wakeup anyone in procfs' PIOCWAIT */
|
||||
|
@ -207,42 +207,4 @@ struct vmtotal {
|
||||
int32_t t_free; /* free memory pages */
|
||||
};
|
||||
|
||||
/*
|
||||
* Optional instrumentation.
|
||||
*/
|
||||
#ifdef PGINPROF
|
||||
|
||||
#define NDMON 128
|
||||
#define NSMON 128
|
||||
|
||||
#define DRES 20
|
||||
#define SRES 5
|
||||
|
||||
#define PMONMIN 20
|
||||
#define PRES 50
|
||||
#define NPMON 64
|
||||
|
||||
#define RMONMIN 130
|
||||
#define RRES 5
|
||||
#define NRMON 64
|
||||
|
||||
/* data and stack size distribution counters */
|
||||
u_int dmon[NDMON+1];
|
||||
u_int smon[NSMON+1];
|
||||
|
||||
/* page in time distribution counters */
|
||||
u_int pmon[NPMON+2];
|
||||
|
||||
/* reclaim time distribution counters */
|
||||
u_int rmon[NRMON+2];
|
||||
|
||||
int pmonmin;
|
||||
int pres;
|
||||
int rmonmin;
|
||||
int rres;
|
||||
|
||||
u_int rectime; /* accumulator for reclaim times */
|
||||
u_int pgintime; /* accumulator for page in times */
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user