From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Phil Sainty Newsgroups: gmane.emacs.bugs Subject: bug#27397: [PATCH] New commands for bulk tracing of elisp functions Date: Sat, 17 Jun 2017 20:43:00 +1200 Message-ID: References: <1348823a-7623-8146-8cc0-8c0eff13e458@orcon.net.nz> <34fcc090-6a8b-42de-b6c8-df182f8de938@yandex.ru> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1497689050 2098 195.159.176.226 (17 Jun 2017 08:44:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Jun 2017 08:44:10 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 To: Dmitry Gutov , 27397@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 17 10:44:06 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM9Kv-0000CE-GN for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 10:44:05 +0200 Original-Received: from localhost ([::1]:33834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dM9L0-0005JF-B4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Jun 2017 04:44:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dM9Kv-0005J7-Ba for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 04:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dM9Ks-0005aI-9j for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 04:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:49396) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dM9Ks-0005aC-5s for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 04:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dM9Kr-0002cm-S5 for bug-gnu-emacs@gnu.org; Sat, 17 Jun 2017 04:44:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 17 Jun 2017 08:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27397-submit@debbugs.gnu.org id=B27397.149768899410028 (code B ref 27397); Sat, 17 Jun 2017 08:44:01 +0000 Original-Received: (at 27397) by debbugs.gnu.org; 17 Jun 2017 08:43:14 +0000 Original-Received: from localhost ([127.0.0.1]:52073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM9K5-0002bg-Rt for submit@debbugs.gnu.org; Sat, 17 Jun 2017 04:43:13 -0400 Original-Received: from smtp-3.orcon.net.nz ([60.234.4.44]:44695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dM9K4-0002bT-4A for 27397@debbugs.gnu.org; Sat, 17 Jun 2017 04:43:12 -0400 Original-Received: from [150.107.172.84] (port=26965 helo=[192.168.20.102]) by smtp-3.orcon.net.nz with esmtpa (Exim 4.86_2) (envelope-from ) id 1dM9Js-0001bT-TX; Sat, 17 Jun 2017 20:43:02 +1200 In-Reply-To: <34fcc090-6a8b-42de-b6c8-df182f8de938@yandex.ru> Content-Language: en-US X-GeoIP: NZ X-Spam_score: -1.0 X-Spam_score_int: -9 X-Spam_bar: - X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133686 Archived-At: On 17/06/17 02:58, Dmitry Gutov wrote: > This patch could probably use a NEWS entry, though. Yes, that's a good point. I'll add one to the next revision. Something like this? ** Trace *** New commands 'trace-package' and 'trace-regexp' (and their counterparts 'untrace-package' and 'untrace-regexp') allow for the bulk tracing of calls to functions with names matching a specified prefix or regexp. As there's no info node for trace.el, that could perhaps be a +++ entry; although a grep shows me that "(tramp) Traces and Profiles" could be amended to change: (require 'trace) (dolist (elt (all-completions "tramp-" obarray 'functionp)) (trace-function-background (intern elt))) to: (trace-package "tramp-") It would be good to add a node to the elisp manual covering trace.el, but that's not strictly part of this patch. -Phil