diff options
author | phk <phk@FreeBSD.org> | 2003-02-16 13:22:15 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2003-02-16 13:22:15 +0000 |
commit | 811b1cae1ce3d2ee3a700c4302cefce5567570f1 (patch) | |
tree | 3dc7fa860e937e7c589fc78e9d17f2580e9cb085 /sys | |
parent | 2753d4cfa65109a5c80c8f5ff805c955e3c49305 (diff) | |
download | FreeBSD-src-811b1cae1ce3d2ee3a700c4302cefce5567570f1.zip FreeBSD-src-811b1cae1ce3d2ee3a700c4302cefce5567570f1.tar.gz |
Move the tty related statistics counters to live with the tty code.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/kern_clock.c | 5 | ||||
-rw-r--r-- | sys/kern/tty.c | 5 |
2 files changed, 5 insertions, 5 deletions
diff --git a/sys/kern/kern_clock.c b/sys/kern/kern_clock.c index 25e558a..793a8ed 100644 --- a/sys/kern/kern_clock.c +++ b/sys/kern/kern_clock.c @@ -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. * diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 711fb65..5280279 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -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); |