freebsd-dev/sys
Pawel Biernacki cd1c083d80 kern.tty_info_kstacks: add a compact format
Add a more compact display format for kern.tty_info_kstacks inspired by
procstat -kk. Set it as a default one.

# sysctl kern.tty_info_kstacks=1
kern.tty_info_kstacks: 0 -> 1
# sleep 2
^T
load: 0.17  cmd: sleep 623 [nanslp] 0.72r 0.00u 0.00s 0% 2124k
#0 0xffffffff80c4443e at mi_switch+0xbe
#1 0xffffffff80c98044 at sleepq_catch_signals+0x494
#2 0xffffffff80c982c2 at sleepq_timedwait_sig+0x12
#3 0xffffffff80c43af3 at _sleep+0x193
#4 0xffffffff80c50e31 at kern_clock_nanosleep+0x1a1
#5 0xffffffff80c5119b at sys_nanosleep+0x3b
#6 0xffffffff810ffc69 at amd64_syscall+0x119
#7 0xffffffff810d5520 at fast_syscall_common+0x101
sleep: about 1 second(s) left out of the original 2
^C
# sysctl kern.tty_info_kstacks=2
kern.tty_info_kstacks: 1 -> 2
# sleep 2
^T
load: 0.24  cmd: sleep 625 [nanslp] 0.81r 0.00u 0.00s 0% 2124k
mi_switch+0xbe sleepq_catch_signals+0x494 sleepq_timedwait_sig+0x12
sleep+0x193 kern_clock_nanosleep+0x1a1 sys_nanosleep+0x3b
amd64_syscall+0x119 fast_syscall_common+0x101
sleep: about 1 second(s) left out of the original 2
^C

Suggested by:	avg
Reviewed by:	mjg
Relnotes:	yes
Sponsored by:	Mysterious Code Ltd.
Differential Revision:	https://reviews.freebsd.org/D25487
2020-07-06 16:33:28 +00:00
..
amd64 Rerun kernel ifunc resolvers after all CPUs have started 2020-07-05 14:38:22 +00:00
arm Add a driver for bcm2838 PCI express controller 2020-07-06 08:51:55 +00:00
arm64 Rerun kernel ifunc resolvers after all CPUs have started 2020-07-05 14:38:22 +00:00
bsm bsm: add AUE_CLOSERANGE 2020-04-24 01:27:25 +00:00
cam Use the more descriptive src_ccb and dst_ccb for the two ccbs being merged. 2020-06-20 04:07:23 +00:00
cddl Fix page fault in zfsctl_snapdir_getattr 2020-07-02 13:17:31 +00:00
compat Fix include file order in io.h in the LinuxKPI. 2020-07-05 19:38:36 +00:00
conf Add a driver for bcm2838 PCI express controller 2020-07-06 08:51:55 +00:00
contrib Rename nvpair.c to bsd_nvpair.c to not conflict with openzfs' version. 2020-06-27 00:55:03 +00:00
crypto Add domain policy allocation for amd64 fpu_kern_ctx 2020-07-03 14:54:46 +00:00
ddb [PowerPC] More relocation fixes 2020-06-21 03:39:26 +00:00
dev Add a driver for bcm2838 PCI express controller 2020-07-06 08:51:55 +00:00
dts Remove licenses 2020-06-04 17:20:58 +00:00
fs Add support for ext_pgs mbufs to nfsm_strtom(). 2020-07-05 21:55:16 +00:00
gdb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
geom geom(4): Kill GEOM_PART_EBR_COMPAT option 2020-07-01 02:16:36 +00:00
gnu dts: patch the am33xx dts for upcoming clock support 2020-06-05 20:14:54 +00:00
i386 geom(4): Kill GEOM_PART_EBR_COMPAT option 2020-07-01 02:16:36 +00:00
isa
kern kern.tty_info_kstacks: add a compact format 2020-07-06 16:33:28 +00:00
kgssapi Add support for optional separate output buffers to in-kernel crypto. 2020-05-25 22:12:04 +00:00
libkern libkern: Add arc4random_uniform 2020-05-23 17:51:06 +00:00
mips Add dwc_otg_acpi 2020-06-30 15:58:29 +00:00
modules Add i.MX 8M Quad support 2020-07-01 00:33:16 +00:00
net iflib: Fix some nits in the rx refill code. 2020-07-06 14:52:21 +00:00
net80211 [net80211] Commit files missing in the previous commit 2020-07-01 00:24:55 +00:00
netgraph Allow some Bluetooth LE related HCI request to non-root user. 2020-07-01 04:00:54 +00:00
netinet Complete conversions from fib<4|6>_lookup_nh_<basic|ext> to fib<4|6>_lookup(). 2020-07-02 21:04:08 +00:00
netinet6 Fix IPv6 regression introduced by r362900. 2020-07-03 08:06:26 +00:00
netipsec Simplify IPsec transform-specific teardown. 2020-06-25 23:59:16 +00:00
netpfil Complete conversions from fib<4|6>_lookup_nh_<basic|ext> to fib<4|6>_lookup(). 2020-07-02 21:04:08 +00:00
netsmb Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
nfs Use epoch(9) for rtentries to simplify control plane operations. 2020-05-23 10:21:02 +00:00
nfsclient
nfsserver
nlm Fix export_args ex_flags field so that is 64bits, the same as mnt_flags. 2020-06-14 00:10:18 +00:00
ofed Infiniband clients must be attached and detached in a specific order in ibcore. 2020-07-06 08:50:11 +00:00
opencrypto Convert cryptostats to a counter_u64 array. 2020-06-30 22:01:21 +00:00
powerpc [PowerPC] XIVE dispatch tweaks 2020-07-06 15:15:37 +00:00
riscv riscv pmap: zero reserved pte bits in ppn 2020-07-01 19:15:43 +00:00
rpc Fix up a comment added by r362455. 2020-06-21 02:49:56 +00:00
security audit: provide AUDITING_TD for !AUDIT case 2020-07-04 06:21:20 +00:00
sys kern.tty_info_kstacks: add a compact format 2020-07-06 16:33:28 +00:00
teken
tests Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
tools vfs: stop null checking routines in vop wrappers 2020-01-26 00:41:38 +00:00
ufs The binary representation of the superblock (the fs structure) is written 2020-06-19 01:04:25 +00:00
vm vm: Add missing WITNESS warnings for M_WAITOK allocation 2020-06-29 16:54:00 +00:00
x86 Assume all TSCs are synchronized for AMD Family 17h processors and later 2020-06-22 20:42:58 +00:00
xdr Split XDR into separate kernel module. Make krpc depend on xdr. 2020-04-17 06:04:20 +00:00
xen Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (16 of many) 2020-02-25 19:04:39 +00:00
Makefile Remove sparc64 kernel support 2020-02-03 17:35:11 +00:00