From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 258EDC433DB for ; Tue, 29 Dec 2020 18:57:14 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D9F68207CF for ; Tue, 29 Dec 2020 18:57:13 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726198AbgL2S4x (ORCPT ); Tue, 29 Dec 2020 13:56:53 -0500 Received: from smtprelay0053.hostedemail.com ([216.40.44.53]:52714 "EHLO smtprelay.hostedemail.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726126AbgL2S4w (ORCPT ); Tue, 29 Dec 2020 13:56:52 -0500 Received: from filter.hostedemail.com (clb03-v110.bra.tucows.net [216.40.38.60]) by smtprelay07.hostedemail.com (Postfix) with ESMTP id 68C28181D3039; Tue, 29 Dec 2020 18:56:11 +0000 (UTC) X-Session-Marker: 6A6F6540706572636865732E636F6D X-HE-Tag: son76_1713ca52749e X-Filterd-Recvd-Size: 1573 Received: from [192.168.1.159] (unknown [47.151.137.21]) (Authenticated sender: joe@perches.com) by omf07.hostedemail.com (Postfix) with ESMTPA; Tue, 29 Dec 2020 18:56:10 +0000 (UTC) Message-ID: <4520e86ead300c92de0736fcb7b1ec3045c34efa.camel@perches.com> Subject: Re: [RFC PATCH v2 00/19] dynamic debug diet plan From: Joe Perches To: Jim Cromie , jbaron@akamai.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Date: Tue, 29 Dec 2020 10:56:08 -0800 In-Reply-To: <20201225201944.3701590-1-jim.cromie@gmail.com> References: <20201225201944.3701590-1-jim.cromie@gmail.com> Content-Type: text/plain; charset="ISO-8859-1" User-Agent: Evolution 3.38.1-1 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 2020-12-25 at 13:19 -0700, Jim Cromie wrote: > Well, we're mostly overeating, but we can all look forward to a diet > in January. And more exersize. > > dyndbg's compiled-in data-table currently uses 56 bytes per prdebug; > this includes 3 pointers to hierarchical "decorator" data, which is > primarily for adding "module:function:line:" prefixes to prdebug > messages, and for enabling and modifying those prdebugs selectively. > > This patchset decouples "decorator" data, and makes it optional, and > disposable. By separating that data, it opens up possiblities to > compress it, swap it out, map it selectively, etc. While this may be somewhat useful, what debugging does it really help? Are there really memory limited platforms that enable dynamic debug?