From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#1343: bug#27397: [PATCH] New commands for bulk tracing of elisp functions Date: Tue, 13 Sep 2022 10:17:24 +1200 Message-ID: <59bc6087e71b0c370ea4fe94fba25c43@webmail.orcon.net.nz> References: <1348823a-7623-8146-8cc0-8c0eff13e458@orcon.net.nz> <94d27dbb-46d3-1d6f-4849-251a0929d413@orcon.net.nz> <70000e90-328c-c084-3e3c-bbde96b16110@orcon.net.nz> <6b195c26-066c-870f-3432-0b24c6f619ec@orcon.net.nz> <83fa3d61-9173-c3f6-32b6-87c7c09502b7@orcon.net.nz> <15f4e949736351f2d98fdee0b57e4d24@webmail.orcon.net.nz> <87leqqdtb4.fsf_-_@gnus.org> <87h71cu3jr.fsf@gmx.de> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10947"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Orcon Webmail Cc: 1343@debbugs.gnu.org, Lars Ingebrigtsen , 27397@debbugs.gnu.org, Dmitry Gutov To: Michael Albinus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 13 00:18:13 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXrkp-0002eJ-Fr for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 13 Sep 2022 00:18:11 +0200 Original-Received: from localhost ([::1]:40254 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oXrkn-0000bb-VU for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Sep 2022 18:18:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oXrkg-0000b6-M6 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 18:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59613) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oXrkg-0000G2-DM for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 18:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oXrkg-0005HU-69 for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2022 18:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2022 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 1343 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo patch Original-Received: via spool by 1343-submit@debbugs.gnu.org id=B1343.166302105420261 (code B ref 1343); Mon, 12 Sep 2022 22:18:02 +0000 Original-Received: (at 1343) by debbugs.gnu.org; 12 Sep 2022 22:17:34 +0000 Original-Received: from localhost ([127.0.0.1]:48309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXrkD-0005Gi-NZ for submit@debbugs.gnu.org; Mon, 12 Sep 2022 18:17:33 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:48735) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oXrkB-0005GU-Qp; Mon, 12 Sep 2022 18:17:32 -0400 Original-Received: from [10.253.37.70] (port=48200 helo=webmail.orcon.net.nz) by smtp-3.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1oXrk4-0007kF-OB; Tue, 13 Sep 2022 10:17:24 +1200 Original-Received: from ip-116-251-140-135.kinect.net.nz ([116.251.140.135]) via [10.253.37.253] by webmail.orcon.net.nz with HTTP (HTTP/1.1 POST); Tue, 13 Sep 2022 10:17:24 +1200 In-Reply-To: <87h71cu3jr.fsf@gmx.de> X-Sender: psainty@orcon.net.nz X-GeoIP: -- X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:242306 Archived-At: On 2022-09-13 01:26, Michael Albinus wrote: > There are also chatty functions, which ... add serious noise > > For that reason, Tramp marks such functions with a function property, > > Or, dynamically, the global variable inhibit-trace could keep a value > of such functions suppressed for trace. Oddly enough, this had also occurred to me yesterday as a useful improvement. I was thinking of a global list of functions not to be traced, but your symbol property approach seems like a good idea as well. Perhaps "both" is good. For symbol properties I think there would need to be a variable to control whether or not that was respected, to make it relatively easy to force them to be traced regardless. > I wouldn't use `tramp' as example for `trace-library'. No problem. I think the example dates back to the info on tracing which used to appear in (info "(tramp) Traces and Profiles") but I'd noticed that had been deleted when I was rebasing this work. -Phil