Move the tty related statistics counters to live with the tty code.
This commit is contained in:
parent
2753d4cfa6
commit
811b1cae1c
@ -83,11 +83,6 @@ long cp_time[CPUSTATES];
|
||||
SYSCTL_OPAQUE(_kern, OID_AUTO, cp_time, CTLFLAG_RD, &cp_time, sizeof(cp_time),
|
||||
"LU", "CPU time statistics");
|
||||
|
||||
long tk_cancc;
|
||||
long tk_nin;
|
||||
long tk_nout;
|
||||
long tk_rawcc;
|
||||
|
||||
/*
|
||||
* Clock handling routines.
|
||||
*
|
||||
|
@ -109,6 +109,11 @@
|
||||
|
||||
MALLOC_DEFINE(M_TTYS, "ttys", "tty data structures");
|
||||
|
||||
long tk_cancc;
|
||||
long tk_nin;
|
||||
long tk_nout;
|
||||
long tk_rawcc;
|
||||
|
||||
static int proc_compare(struct proc *p1, struct proc *p2);
|
||||
static int ttnread(struct tty *tp);
|
||||
static void ttyecho(int c, struct tty *tp);
|
||||
|
Loading…
Reference in New Issue
Block a user