Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp5399068rwl; Tue, 21 Mar 2023 18:38:10 -0700 (PDT) X-Google-Smtp-Source: AK7set+s37XenSGr7DLVG/YM3OLG4gU2Xg54Nk+WHnSF7t1H6XWHCsrWg7p0wBPsiunveg4lcEWm X-Received: by 2002:a17:906:d9:b0:8f5:14ab:94bc with SMTP id 25-20020a17090600d900b008f514ab94bcmr4745857eji.6.1679449090292; Tue, 21 Mar 2023 18:38:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679449090; cv=none; d=google.com; s=arc-20160816; b=fE6IRcm14N5NM73fyHx1txEIPIwRZpAjtsnTARd3yQIpfGb4noXj3AQERbJORIWA+5 ZUv87eIIN8aRMzQktrFwtFZpuYl3DiGugrroSobrS0SkQfO4Ttyqohwp9L56SgDlPfN5 iQCR7P9XL9QWPTzqCZS20YoJVgI+16fgT/grGySDTKgOzNLdrQPAqse+c8kswfXhwB+Q TEe3Qqu18HS3NqHRPGp4V43OIwLupizBQwXjNkS6b+/8FLhTXp9V3n3rDdy17KBIUHO1 fsXZErvC+tWHjYwgAv726LR4+SHf1OZFZYQnbPOVRa8DVhy51zQrBQzIV02Z5HrcEtam exSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=IAvSDTaQNCs+gy/ESSErpV55nInpY/nvxkb3Bc1Sf+Q=; b=qdelyXuyhcIJ32vLOCgUdz6+8rvnxOclO60oTN0NZSbN0oijB3gGwMO/KcI3wLByIf 4AlbWFQm1eK/zxYNlpe065R15x6wBu/N+BJh5RCxOaZcirv+N8Ai4rrJiIDkwdGwqLg9 N7KfG6mIfw5dJLX++b0qsw/P6SH2PTOgbyfo+iPRLa6zVkt+6QpKSvy4G7ANtwxNKzIz Tyv6CYY7Oao5Cyk98I8gII2NJtTcUeuXOjJ4Vs63ojcD/dyPhw9HbrggmuQT5T4/7QE9 pDYUA7ni5lBeoJPcPd7aQq96OGhOdWDTwVpwIhoHZD7ChZQK3hFGnbdlJ71LQ9pnpywD GdXA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YtkuE4e6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g23-20020a1709064e5700b008c86dd47e82si12910865ejw.581.2023.03.21.18.37.46; Tue, 21 Mar 2023 18:38:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=YtkuE4e6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbjCVBhJ (ORCPT + 99 others); Tue, 21 Mar 2023 21:37:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229961AbjCVBg7 (ORCPT ); Tue, 21 Mar 2023 21:36:59 -0400 Received: from mail-io1-xd2e.google.com (mail-io1-xd2e.google.com [IPv6:2607:f8b0:4864:20::d2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0F3745A92E; Tue, 21 Mar 2023 18:36:40 -0700 (PDT) Received: by mail-io1-xd2e.google.com with SMTP id h2so4609429iow.0; Tue, 21 Mar 2023 18:36:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1679448993; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=IAvSDTaQNCs+gy/ESSErpV55nInpY/nvxkb3Bc1Sf+Q=; b=YtkuE4e6GTaL+l4VQm0Go5MDVaO0GXT4CxCeRqw1liR/AdZVkzunI8FJAZEeFn4+t+ AOQwLIsaD1NVe3WUoyWnNaqdEPu5hj7Bvji8FtIar4uEdZJ+ypHNwQ9uBmcr8LRuQSqA b//GoOac8z8vWIoqxV7jAyVN5y3OHtjdMaLSyCBiGguQhGCNCQT8O2xG6Q8gk2TGcmWd M9i7REryIqfVB42yQR+OV1lGanWak9kHGk1e/cT6cHvTQp8kiEfF3WXBQAWv++GunfQO GFNhMluh2zYkNtUXkhp0pfdt9jqApl/C940xoSBtJOGr+m/Vhvbdj59WztmiD5os8mn9 o2uQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679448993; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=IAvSDTaQNCs+gy/ESSErpV55nInpY/nvxkb3Bc1Sf+Q=; b=DO4gz2pLA9DndVgbAex5E88Rv1SG8q7Upy+bX426xZDxzOGlmRZSODbU8iPGGRIse7 ubjKCTwzgJ/KDgvwr1m1gL8E9xx6V3GlYFddu4mLJglpktSyATxeWM7rL4kOjZnzmaCQ EI+ZH8Tu8/LY2yp+jdvqhmqDSxuuzhyloXJcIZh6XBM/IBTHBUH2Z6Cxxg4hO5SYI1LM v2UNaCCVWyVK7WSQxYJuOgDbWWOSXoMjVt7vY3NfIup1XOcNYycY1uWIKT9pSoV73Y/M TSQMAYGTUtA8UJY6iXeoWjdYnwMfaJ5dX8Z8DvD4DFSPZIdRxPksYg8aJQK54pNqXXI7 +ZZg== X-Gm-Message-State: AO0yUKVNrKjAUS396DzuY9HmlnAEBESnqRnPX4XUSVEienjrUbAIro29 vD7BwCEewgNWcDBxybiSDrM= X-Received: by 2002:a6b:e704:0:b0:74c:b686:6227 with SMTP id b4-20020a6be704000000b0074cb6866227mr3355463ioh.14.1679448993133; Tue, 21 Mar 2023 18:36:33 -0700 (PDT) Received: from frodo.. (c-73-78-62-130.hsd1.co.comcast.net. [73.78.62.130]) by smtp.googlemail.com with ESMTPSA id a22-20020a6b6616000000b007530bbfa577sm3925058ioc.18.2023.03.21.18.36.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Mar 2023 18:36:32 -0700 (PDT) From: Jim Cromie To: mcgrof@kernel.org, linux-modules@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Jim Cromie Subject: [PATCH 1/4] module: in layout_sections, move_module: add the modname Date: Tue, 21 Mar 2023 19:36:20 -0600 Message-Id: <20230322013623.251401-2-jim.cromie@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230322013623.251401-1-jim.cromie@gmail.com> References: <20230322013623.251401-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org layout_sections() and move_module() each issue ~50 messages for each module loaded. Add mod-name into their 2 header lines, to help the reader find his module. no functional changes. Signed-off-by: Jim Cromie --- kernel/module/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/module/main.c b/kernel/module/main.c index b4759f1695b7..39f267c40286 100644 --- a/kernel/module/main.c +++ b/kernel/module/main.c @@ -1523,10 +1523,10 @@ static void layout_sections(struct module *mod, struct load_info *info) for (i = 0; i < info->hdr->e_shnum; i++) info->sechdrs[i].sh_entsize = ~0UL; - pr_debug("Core section allocation order:\n"); + pr_debug("Core section allocation order for %s:\n", mod->name); __layout_sections(mod, info, false); - pr_debug("Init section allocation order:\n"); + pr_debug("Init section allocation order for %s:\n", mod->name); __layout_sections(mod, info, true); } @@ -2162,7 +2162,7 @@ static int move_module(struct module *mod, struct load_info *info) } /* Transfer each section which specifies SHF_ALLOC */ - pr_debug("final section addresses:\n"); + pr_debug("Final section addresses for %s:\n", mod->name); for (i = 0; i < info->hdr->e_shnum; i++) { void *dest; Elf_Shdr *shdr = &info->sechdrs[i]; -- 2.39.2