Browse Source

Flip kern.tty_info_kstacks on by default

It's a useful debug aid for anyone using Ctrl-T today, and doesn't seem to be
widely known.  So, enable it out of the box to help people find it.

It's a tunable and sysctl, so if you don't like it, it's easy to disable
locally.

If people really hate it, we can always flip it back.

Reported by:	Daniel O'Connor
remotes/github/freebsd/current/master
cem 3 months ago
parent
commit
4040c34651
Notes: cem 3 months ago
svn path=/head/; revision=362141
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sys/kern/tty_info.c

+ 1
- 1
sys/kern/tty_info.c View File

@@ -239,7 +239,7 @@ sbuf_tty_drain(void *a, const char *d, int len)
}

#ifdef STACK
static bool tty_info_kstacks = false;
static bool tty_info_kstacks = true;
SYSCTL_BOOL(_kern, OID_AUTO, tty_info_kstacks, CTLFLAG_RWTUN,
&tty_info_kstacks, 0,
"Enable printing kernel stack(9) traces on ^T (tty info)");


Loading…
Cancel
Save