1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-16 10:20:30 +00:00

Remove unused definitions of vm statistics counters. Most of the

counting is now done in C.  There are still about 100 unused
definitions for other things.
This commit is contained in:
Bruce Evans 1995-01-21 15:22:28 +00:00
parent e6891db8c5
commit cee6d3700d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=5770
2 changed files with 2 additions and 6 deletions

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
* $Id: genassym.c,v 1.20 1994/11/18 05:27:32 phk Exp $
* $Id: genassym.c,v 1.21 1994/12/03 10:02:20 bde Exp $
*/
#include <stdio.h>
@ -94,11 +94,9 @@ main()
printf("#define\tP_PID %d\n", &p->p_pid);
printf("#define\tSSLEEP %d\n", SSLEEP);
printf("#define\tSRUN %d\n", SRUN);
printf("#define\tV_SWTCH %d\n", &vm->v_swtch);
printf("#define\tV_TRAP %d\n", &vm->v_trap);
printf("#define\tV_SYSCALL %d\n", &vm->v_syscall);
printf("#define\tV_INTR %d\n", &vm->v_intr);
printf("#define\tV_SOFT %d\n", &vm->v_soft);
printf("#define\tUPAGES %d\n", UPAGES);
printf("#define\tCLSIZE %d\n", CLSIZE);
printf("#define\tNBPG %d\n", NBPG);

View File

@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* from: @(#)genassym.c 5.11 (Berkeley) 5/10/91
* $Id: genassym.c,v 1.20 1994/11/18 05:27:32 phk Exp $
* $Id: genassym.c,v 1.21 1994/12/03 10:02:20 bde Exp $
*/
#include <stdio.h>
@ -94,11 +94,9 @@ main()
printf("#define\tP_PID %d\n", &p->p_pid);
printf("#define\tSSLEEP %d\n", SSLEEP);
printf("#define\tSRUN %d\n", SRUN);
printf("#define\tV_SWTCH %d\n", &vm->v_swtch);
printf("#define\tV_TRAP %d\n", &vm->v_trap);
printf("#define\tV_SYSCALL %d\n", &vm->v_syscall);
printf("#define\tV_INTR %d\n", &vm->v_intr);
printf("#define\tV_SOFT %d\n", &vm->v_soft);
printf("#define\tUPAGES %d\n", UPAGES);
printf("#define\tCLSIZE %d\n", CLSIZE);
printf("#define\tNBPG %d\n", NBPG);