summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-02-16 13:22:15 +0000
committerphk <phk@FreeBSD.org>2003-02-16 13:22:15 +0000
commit811b1cae1ce3d2ee3a700c4302cefce5567570f1 (patch)
tree3dc7fa860e937e7c589fc78e9d17f2580e9cb085 /sys/kern/tty.c
parent2753d4cfa65109a5c80c8f5ff805c955e3c49305 (diff)
downloadFreeBSD-src-811b1cae1ce3d2ee3a700c4302cefce5567570f1.zip
FreeBSD-src-811b1cae1ce3d2ee3a700c4302cefce5567570f1.tar.gz
Move the tty related statistics counters to live with the tty code.
Diffstat (limited to 'sys/kern/tty.c')
-rw-r--r--sys/kern/tty.c5
1 files changed, 5 insertions, 0 deletions
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);
OpenPOWER on IntegriCloud