From owner-freebsd-current@freebsd.org Sun May 19 16:01:01 2019 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6606315B17AD for ; Sun, 19 May 2019 16:01:01 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from CAN01-TO1-obe.outbound.protection.outlook.com (mail-eopbgr670081.outbound.protection.outlook.com [40.107.67.81]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "mail.protection.outlook.com", Issuer "GlobalSign Organization Validation CA - SHA256 - G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D2146A8D8; Sun, 19 May 2019 16:00:59 +0000 (UTC) (envelope-from rmacklem@uoguelph.ca) Received: from YQXPR0101MB2055.CANPRD01.PROD.OUTLOOK.COM (52.132.77.144) by YQXPR0101MB0888.CANPRD01.PROD.OUTLOOK.COM (52.132.76.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1900.18; Sun, 19 May 2019 16:00:58 +0000 Received: from YQXPR0101MB2055.CANPRD01.PROD.OUTLOOK.COM ([fe80::b535:e1a6:ba8b:2143]) by YQXPR0101MB2055.CANPRD01.PROD.OUTLOOK.COM ([fe80::b535:e1a6:ba8b:2143%7]) with mapi id 15.20.1900.020; Sun, 19 May 2019 16:00:58 +0000 From: Rick Macklem To: Cy Schubert , "freebsd-current@FreeBSD.org" , Konstantin Belousov CC: Alan Somers Subject: Re: RFC w.r.t. toggling debugging on/off for mountd via a signal Thread-Topic: RFC w.r.t. toggling debugging on/off for mountd via a signal Thread-Index: AQHVDeUhVyS7UNYXMkevHz6RE46Z1aZxtpUAgAAGAbaAAGi1gIAAAxYAgABxfgQ= Date: Sun, 19 May 2019 16:00:58 +0000 Message-ID: References: <20190519085501.GL2748@kib.kiev.ua>, <564922E3-7BE4-498B-871A-6152A0DF9AD4@cschubert.com> In-Reply-To: <564922E3-7BE4-498B-871A-6152A0DF9AD4@cschubert.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 68cc4250-29ef-4501-17fe-08d6dc732ee6 x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(2017052603328)(7193020); SRVR:YQXPR0101MB0888; x-ms-traffictypediagnostic: YQXPR0101MB0888: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5516; x-forefront-prvs: 00429279BA x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(366004)(39850400004)(376002)(136003)(346002)(396003)(199004)(189003)(305945005)(74316002)(81166006)(8676002)(81156014)(8936002)(86362001)(316002)(71200400001)(71190400001)(2906002)(256004)(5024004)(68736007)(786003)(4744005)(25786009)(4326008)(110136005)(229853002)(74482002)(6436002)(52536014)(6506007)(6246003)(102836004)(55016002)(2501003)(53936002)(9686003)(14454004)(33656002)(478600001)(99286004)(76176011)(7696005)(76116006)(186003)(46003)(73956011)(66556008)(66446008)(64756008)(66476007)(66946007)(11346002)(5660300002)(476003)(446003)(486006); DIR:OUT; SFP:1101; SCL:1; SRVR:YQXPR0101MB0888; H:YQXPR0101MB2055.CANPRD01.PROD.OUTLOOK.COM; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: uoguelph.ca does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: yQ9wPCsrfVTFK6f5xddCv8E6Oq1wFnXBKwQCCUr59aPr4rMXU3SlSMpSuNp8ztOd+yJ/5hZAFDJB+Tvold0Vf8sJkVTXJDyUZXlqU8NEGnOySeyO8z2DPc74OqpuxVXl3TuZCaMkcIzEG7Jfr48uZ5bh+TrhgKVpksixnMePxSKMXw2qsLiukUNHZWGgDTRjuIsOw6hTqtukjzHC8w/6cV1d10OuyHAIklV3rmfTGtgbAGh3Odeee33kcvt3i1FtnYsSsA5ddVuGrp6w6MrjGYt3pYLN8CIAiBENlNmqm43EldteLGvMhs0uBYsmJzx9ZnefKY4M63p12nXHiOZJkxuyRdF6bC/HGmEsBNhXcmpjPk8bU76GfKXgV6a+3WCBIP9hLu6ti8eBrW0HH9KfJQfeqsQSML4HDIuR44I58JM= Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: uoguelph.ca X-MS-Exchange-CrossTenant-Network-Message-Id: 68cc4250-29ef-4501-17fe-08d6dc732ee6 X-MS-Exchange-CrossTenant-originalarrivaltime: 19 May 2019 16:00:58.4875 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: be62a12b-2cad-49a1-a5fa-85f4f3156a7d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-Transport-CrossTenantHeadersStamped: YQXPR0101MB0888 X-Rspamd-Queue-Id: 5D2146A8D8 X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; spf=pass (mx1.freebsd.org: domain of rmacklem@uoguelph.ca designates 40.107.67.81 as permitted sender) smtp.mailfrom=rmacklem@uoguelph.ca X-Spamd-Result: default: False [-1.62 / 15.00]; ARC_NA(0.00)[]; TO_DN_EQ_ADDR_SOME(0.00)[]; NEURAL_HAM_MEDIUM(-0.97)[-0.974,0]; RCPT_COUNT_THREE(0.00)[4]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:40.107.0.0/16]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[uoguelph.ca]; NEURAL_HAM_LONG(-0.99)[-0.992,0]; NEURAL_SPAM_SHORT(0.65)[0.652,0]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; MX_GOOD(-0.01)[cached: mx2.hc184-76.ca.iphmx.com]; RCVD_IN_DNSWL_NONE(0.00)[81.67.107.40.list.dnswl.org : 127.0.3.0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2019 16:01:01 -0000 ________________________________________ Cy Schubert wrote: [lots of stuff snipped] >Instead of syslog() calls, DTrace probes are designed for this type of ins= trumentation. DTrace us way too obscure for me. Never used it, probably never will. (Remember I'm the guy who still uses "ed" to edit all my text files, becaus= e screen editors like "vi" are too obscure for me.;-) If you want to volunteer to replace the syslog() calls in the patch with DT= race stuff (the patch is attached to PR#237860 and the calls are uses of the macro cal= led LOGDEBUG) and create a simple explanation of how to enable/disable it, feel free to do so. rick