Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jun 2020 16:28:07 +0200
From:      "Hartmann, O." <o.hartmann@walstatt.org>
To:        John Baldwin <jhb@FreeBSD.org>
Cc:        Michael Gmelin <freebsd@grem.de>, Andriy Gapon <avg@FreeBSD.org>, Li-Wen Hsu <lwhsu@freebsd.org>, "Conrad E. Meyer" <cem@FreeBSD.org>, FreeBSD CURRENT <freebsd-current@freebsd.org>
Subject:   Re: weird Ctrl-T debug messages
Message-ID:  <20200627162807.664d55b7@hermann.fritz.box>
In-Reply-To: <61989d05-324a-0b8d-d0cf-0da5f3d9f00d@FreeBSD.org>
References:  <20200627090406.68b5d637@hermann.fritz.box> <CAKBkRUx-TTWUxPJGiiyMxVFFK=v2is5Rc4QruiNgchWf_WY7Dg@mail.gmail.com> <14d1708f-74cc-4a60-3282-3308eb24743e@FreeBSD.org> <20200627115910.4fe32aa6@bsd64.grem.de> <61989d05-324a-0b8d-d0cf-0da5f3d9f00d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--Sig_/n0BGpRt3l=cXRZley0NnE7=
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

On Sat, 27 Jun 2020 06:21:17 -0700
John Baldwin <jhb@FreeBSD.org> wrote:

> On 6/27/20 2:59 AM, Michael Gmelin wrote:
> >=20
> >=20
> > On Sat, 27 Jun 2020 12:06:17 +0300
> > Andriy Gapon <avg@FreeBSD.org> wrote:
> >  =20
> >> On 27/06/2020 10:44, Li-Wen Hsu wrote: =20
> >>> On Sat, Jun 27, 2020 at 3:04 PM Hartmann, O.
> >>> <ohartmann@walstatt.org> wrote:   =20
> >>>>
> >>>> Running poudriere on recent CURRENT with (recent) 12-STABLE and
> >>>> CURRENT jails reveals a weird behaviour recently when hitting
> >>>> Ctrl-T:   =20
> >>> ...   =20
> >>>> Is this debug fallout from /bin/sh?   =20
> >>>
> >>> It's because kern.tty_info_kstacks is on by default now:
> >>>
> >>> https://svnweb.freebsd.org/changeset/base/362141   =20
> >>
> >> May I suggest that the stack trace is printed procstat -kk style
> >> (single line) ? I think that the more compact output would be more
> >> convenient. =20
> >=20
> > It's a cool feature and having it on by default on CURRENT certainly
> > helps to discover it, which is great. Thanks for implementing this!
> >=20
> > I wouldn't enable it by default on RELEASE versions though, as
> > CTRL-T is a user interface to get status information (at least this
> > is how I use it personally, e.g., while running commands like
> > dd[0], cp, mv, poudriere etc.), not for getting debug output. =20
>=20
> I agree with this.
>=20
> > Question: Speaking of discovering the feature, wouldn't it make
> > sense to document this tunable on the stack(9) and/or tty(4) man
> > page(s)? =20
>=20
> This sounds like a great idea.  Would you able to come up with a
> patch? I'd be happy to review it.
>=20

Thanks for the explanation.

Regards,
oh

--Sig_/n0BGpRt3l=cXRZley0NnE7=
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSy8IBxAPDkqVBaTJ44N1ZZPba5RwUCXvdXdwAKCRA4N1ZZPba5
RyI3AQCzjF4gB5nYgim/PIQfFqy+RXCCttQmjfRvyfgNcvwVdAEA3528uMNd2wJR
IAUn38Yrc9Z/csq7nLph+3OAXp1LIAA=
=9WiM
-----END PGP SIGNATURE-----

--Sig_/n0BGpRt3l=cXRZley0NnE7=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200627162807.664d55b7>