Received: by 2002:a05:6a10:a841:0:0:0:0 with SMTP id d1csp4048323pxy; Mon, 26 Apr 2021 16:46:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzihqveNISTW97BKWm92rbr/as3lfnWJlTWkSIdkMt9Ifl/oyR9l1qLFfx14WhOger/5E2R X-Received: by 2002:aa7:de8c:: with SMTP id j12mr1266253edv.126.1619480794954; Mon, 26 Apr 2021 16:46:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619480794; cv=none; d=google.com; s=arc-20160816; b=Zuf86H0dB83Ll7mS9NaANUsc7aWFCupvaMMh0SqzAsdny6L+02/Qigk1RvLW3xMNFk OAxzKczjlaniZNmj0m1K9Kb9r6pnyiz7Mm4OGegS6ngzmOTAZByCJQcsbrdGPkw1sJdF 9dsi4Al9vVmKD8GwU5VVaLcx1p98mUk9J2i7blHgS9FBFom480+KosHQQJAEOhz9Ya6K LgqNROMasqTzvzhnO5qVtBpXL8qCM+F8dhSHlJ9xjYL46Q5v56H+feERYN6RXKd97pfz YQ9H6PIqyB5rvO9ARGc4ou19YbT7JgjFIgxP9kEFj6bUtHzI9W4j7xnnUx+sVxGp4Gmm cNlw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=rABt3tcBwh2XInWLEly6iJ6gJ5SfldgUQGQTM9kHuxw=; b=LJFuBnkHEGEi09J+GihOd6DysvYsHwr9ES7cVbn4VaWxjwXDi0u2ILP7tzRh7gH2hy 7mB1WCmZmfGtabMnzIWvzDrIpqDXaTHyMjH04TP5gVEvWM/EinosNhoOARfhmbCKBExQ 86X7mRtH9eEjrmAqPpyGR9QvMQ46nlJ6dcn6HXlvb6dRTqPgDq7/5oLaRPuRKYM870hL xXXztTDF4OlqV3guuWnyIf6glhRN9nPvtO/xnIj91tSCERGNJU4B3bOXeIT8S28GQVjH H9ZQ+JvOzAB3rn4Ai9hEzojQNJ1qJyfx8lmHXpOS7F6WTYhI44ptX5TDQI+39ThsCRuL ZXqQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=C38KK+gK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id y25si14966990ejb.256.2021.04.26.16.46.11; Mon, 26 Apr 2021 16:46:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=C38KK+gK; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237784AbhDZXnK (ORCPT + 99 others); Mon, 26 Apr 2021 19:43:10 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56662 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237776AbhDZXnA (ORCPT ); Mon, 26 Apr 2021 19:43:00 -0400 Received: from mail-ot1-x330.google.com (mail-ot1-x330.google.com [IPv6:2607:f8b0:4864:20::330]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4E89EC06175F for ; Mon, 26 Apr 2021 16:42:17 -0700 (PDT) Received: by mail-ot1-x330.google.com with SMTP id 65-20020a9d03470000b02902808b4aec6dso48990569otv.6 for ; Mon, 26 Apr 2021 16:42:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=rABt3tcBwh2XInWLEly6iJ6gJ5SfldgUQGQTM9kHuxw=; b=C38KK+gKaqQ1I0W4asX+n3E9S4FujSL6FsuyShgIa96VKgIKlRYu9WJncqyF0rT08Y EfTCOpK0WvdocQ2bHXQE2ZcoYNjJ0HSt4/sLmn4+T9HOKxYii3zgYwQgay+MtvCtmr09 r3E78n8WHv9RTqvDW4JLY5RcsmG0mdZqg1GFE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=rABt3tcBwh2XInWLEly6iJ6gJ5SfldgUQGQTM9kHuxw=; b=NhKFmgB1/YPuCoWKMDGXxTdkgifmDdcXkAIX9pbXyn2w749ehL/kwqIgZg2kjj0UZt jaTfDXHI+rXFOSp8Y1hy1gtZ/2XXddDyNyMP8RUn2DRg6gztmq5XAqVEqWopZksYDQ0I O5Lr5YVmFCa1IoPJfaBSzr98UxKCWAz6em4xUmbQgdEx57315u1DbONU1Hk3n3XgfdmB Pvb5P8wV/x8O/Qn53sdXepSQ6JwRI6+k30E7nL03goXYc/MFmlqExhxiyIj1mRYiJg16 H3Uk+0PcvIPUrUnd7mh5uOkt3L+1rnrB0z124wffMLhpziH0LxjCsLk6kgyb+dei77YZ LXwA== X-Gm-Message-State: AOAM531Ajm8sTplL5dIp0wZDwqTft0BFuUyOlu1dHe/KyyULUv/8DdBR JVMBwZERyOOc1JgXvgz2e7Oauw4QDtZDGMbAHDp4Xg== X-Received: by 2002:a9d:222a:: with SMTP id o39mr13079949ota.246.1619480536586; Mon, 26 Apr 2021 16:42:16 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Mon, 26 Apr 2021 16:42:16 -0700 MIME-Version: 1.0 In-Reply-To: References: <20210420215003.3510247-1-swboyd@chromium.org> <20210420215003.3510247-6-swboyd@chromium.org> <161913520061.46595.8469966711677906076@swboyd.mtv.corp.google.com> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Mon, 26 Apr 2021 16:42:16 -0700 Message-ID: Subject: Re: [PATCH v5 05/13] module: Add printk formats to add module build ID to stacktraces To: Andy Shevchenko Cc: Andrew Morton , linux-kernel@vger.kernel.org, Jiri Olsa , Alexei Starovoitov , Jessica Yu , Evan Green , Hsin-Yi Wang , Petr Mladek , Steven Rostedt , Sergey Senozhatsky , Rasmus Villemoes , linux-doc@vger.kernel.org, Matthew Wilcox Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Andy Shevchenko (2021-04-23 06:24:53) > On Thu, Apr 22, 2021 at 04:46:40PM -0700, Stephen Boyd wrote: > > Quoting Andy Shevchenko (2021-04-21 04:49:33) > > > On Tue, Apr 20, 2021 at 02:49:55PM -0700, Stephen Boyd wrote: > > ... > > > > > Example: > > > > > > Please, shrink the example to leave only meaningful lines. > > > > > > Why, e.g., do we need to see register dump, is it somehow different? > > > > Can you format it how you would like to see it? Should it be a unified > > diff? I agree it would help to see "what changed" but also don't know > > what you want so opted to provide more information, not less. I was > > worried about the questions like "do you change other parts of a splat?" > > so I just put the whole thing there. > > > Before: > ...line X... > ... > ...line Y... > > After: > ...line X'... > ... > ...line Y'... > > Three lines of example per each paragraph, in each of them the middle one is > simply [...]. Ok got it. Thanks for clarifying. > > ... > > > > > +#ifdef CONFIG_STACKTRACE_BUILD_ID > > > > + /* Module build ID */ > > > > + unsigned char build_id[BUILD_ID_SIZE_MAX]; > > > > > > Is it really string of characters? Perhaps u8 will be more explicit. > > > > I'm just matching the build ID API that uses unsigned char. If you want > > u8 then we should update more places. I could do that in a followup > > patch, but this one is already sorta big. > > Unsigned char here is confusing. I would prefer a prerequisite patch to fix > other places first. > Does anyone else want this to happen first? Andrew? I'm inclined to fix this in a followup. As I said before, this would make this an even bigger patch series which I'd like to avoid.