Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp107304ybx; Tue, 29 Oct 2019 15:09:38 -0700 (PDT) X-Google-Smtp-Source: APXvYqwbOtRPxo8RrQfryYMNi7qTht4kbBAVZj/OHmjBXSgUwTcXyZ92q9qR8OL9EZj3OGf1qptj X-Received: by 2002:a50:91c4:: with SMTP id h4mr28696046eda.36.1572386978694; Tue, 29 Oct 2019 15:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572386978; cv=none; d=google.com; s=arc-20160816; b=yUKFnLabjrDAIEqyEsfYI84INOow8jwuCVDBUBeeOM1BT5Vxr7QJsTTWwa2xUCKfro pAMK9Q+5Tqeu7uYeL7oAzTQ3VC8EAQPuJAhpxeuAq1JZhR50M4AClzaXxhT6CQzna1n4 FbBg6F2hCvBX855QgPhzDPtV2SGQFnj9jc7FA0bXX7rrqnnhI2ySRMHjbJgGAWDVYole LJ8T9JNUAp2jcfIgf2H9CxF6+Ld36zIkIpp3BMcbXYIphn9YjXYKvHfbJxe7AeH7DRVN P+Bp8tesO1n07uBNII+IJKCXWpu3MBoWn8+wsbRqoeiI2hKxMQVYGtIIqcc/RKfOYHrt X0EQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=PRhnrmB+ijpIENLvNMWsjQXO/kOYcBONzviL0obRJs4=; b=QL3jGrp1cvgGx2eM8idhIGVQurBr69INeh++vjfL08j7tX/Y/ux7ZJ5nc5M3GE5ar2 /6NbFwQ7greW/H+RYg+chSdcZrH8IxpyyUTkzb6IP86INTW7dEP8wyrmZTun9JGa+rTm U6p9HJwhSG+Fi206FWmaCMo0Sc1gimRn89beou2B8qYkFSBhdCeCzV2gVXxTXhAx8VI9 b1W0wcCEFnOQFz6j3ueaiGlp/lPcgHT935wSkK0jfC1OX+g4HTr6BrjrgSjJ3cg8qHGp Ma+GlW6WR5AnZunZdW0lDztpK9XDrWJ6nEL/tNt7JCsC89Ze8WcLxIo/tv2woWLMV1Le LGZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b="C3M3/y+T"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j5si9154983ejy.345.2019.10.29.15.09.15; Tue, 29 Oct 2019 15:09:38 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@rasmusvillemoes.dk header.s=google header.b="C3M3/y+T"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727089AbfJ2UhS (ORCPT + 99 others); Tue, 29 Oct 2019 16:37:18 -0400 Received: from mail-wr1-f66.google.com ([209.85.221.66]:37231 "EHLO mail-wr1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726416AbfJ2UhR (ORCPT ); Tue, 29 Oct 2019 16:37:17 -0400 Received: by mail-wr1-f66.google.com with SMTP id e11so15127373wrv.4 for ; Tue, 29 Oct 2019 13:37:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rasmusvillemoes.dk; s=google; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=PRhnrmB+ijpIENLvNMWsjQXO/kOYcBONzviL0obRJs4=; b=C3M3/y+TLjza3wimeJs8rWciiXa7rodbQBbutdOXZ4IctymP0lddNtwy0FfkRLQV8i jJfta0vYJayfA2SejvZ+JRYtax+ltj47uFN11MTlMkbKiRvh6s2ycTgAPxmxB1ET+AUn s70mqMd96vtA5EUXDI2h6J24hL+W6jEhxLmZs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=PRhnrmB+ijpIENLvNMWsjQXO/kOYcBONzviL0obRJs4=; b=QilTbv9Y5IV9ziHwFs4TaoL39WFXrXX+r7Mr7LLCGOGX75qrDUhXOv7Ie2T/nxrRk7 cQD+e2j90/9/1mMpstFqtA83s/42GEk7BeZLgNA/cELsEEGuBMSBYKbbqyGMrVjGu9oB kZlaiJ3yR9ymCr07yP77lO6IjIg6DwfVzyX8zoOVSKQ8aDJbJI32zMPmHLnKTEKkmghe SIh2be8nT5gHIlGVPmaOPw4mODPck5SjnfiAO53PXsu1l8xm1wEJHQbzKmurEqX0p/u1 NoIl8mXcEHW4iNrMb2Aa74lPlxk0zlAiPF57fqZa+c6BYCCEeUm2UWQTslBVr8I9p1it uAUA== X-Gm-Message-State: APjAAAUZj/WBhQ5AMB0NPZkzt/yw4JwymjYi/VIBJ9NfgfO7W/E/dN1n PZJL5Cl+O5Sacy986JGewbjVrw== X-Received: by 2002:a5d:498a:: with SMTP id r10mr22359046wrq.129.1572381434716; Tue, 29 Oct 2019 13:37:14 -0700 (PDT) Received: from [192.168.1.149] (ip-5-186-115-54.cgn.fibianet.dk. [5.186.115.54]) by smtp.gmail.com with ESMTPSA id 6sm5085121wmd.36.2019.10.29.13.37.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 29 Oct 2019 13:37:14 -0700 (PDT) Subject: Re: [PATCH 04/16] dyndbg: rename __verbose section to __dyndbg To: Jim Cromie , jbaron@akamai.com, linux-kernel@vger.kernel.org Cc: greg@kroah.com, Arnd Bergmann , Jessica Yu , linux-arch@vger.kernel.org References: <20191029200026.9790-1-jim.cromie@gmail.com> From: Rasmus Villemoes Message-ID: Date: Tue, 29 Oct 2019 21:37:12 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191029200026.9790-1-jim.cromie@gmail.com> Content-Type: text/plain; charset=windows-1252 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 29/10/2019 21.00, Jim Cromie wrote: > dyndbg populates its callsite info into __verbose section, change that > to a more specific and descriptive name, __dyndbg. Yeah, that has always bugged me. Ack to that part. > Also, per checkpatch: > move extern struct _ddebug __(start|stop)__dyndbg[] to header file Hm, why? checkpatch should often be ignored. Since we only refer to those symbols in the .c file, there's no reason to pollute every other translation unit with those declarations. Having declarations in a header makes sense when the actual entity gets defined in some .c file (which hopefully also includes the header). But these are defined by the linker, so there's no type safety to be had. > simplify __attribute(..) to __section(__dyndbg) declaration. Makes sense, since you're munching the thing anyway. Rasmus