From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.90_1) id 1qEPlM-0003I6-U4 for mharc-grub-devel@gnu.org; Wed, 28 Jun 2023 03:38:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qEPlK-0003Hx-VH for grub-devel@gnu.org; Wed, 28 Jun 2023 03:38:51 -0400 Received: from mail-vk1-xa2a.google.com ([2607:f8b0:4864:20::a2a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEPlJ-0002Ln-7R for grub-devel@gnu.org; Wed, 28 Jun 2023 03:38:50 -0400 Received: by mail-vk1-xa2a.google.com with SMTP id 71dfb90a1353d-47148f11fe6so2143944e0c.2 for ; Wed, 28 Jun 2023 00:38:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=efficientek-com.20221208.gappssmtp.com; s=20221208; t=1687937927; x=1690529927; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=N8eU5Y3zvVqXswBvxnobuT69co5G4JYaSAmSxL4HP5I=; b=aiRDsXZPKMH87SXx2ICgM207Pb7ggBtWXRneoTCs+w1QXktBJwSKrJ3hpZQLrspubM AmSgf0ysNuVK1MJ9LXR4III8NZ+YsPWKvV53nTjPmaPq39J5Vl0CyqjpjrGn0P5ytY+w zW7fG+WUhWfDLMbd+hX9uAWlCiEvsH/IHqkgqUGHUf3+ZNSYOPdF7GE2whISzgKSKW0m hz3uVONtUW57NKq8AtSdtLDciGo39/s6uVCbk3RQtrOiNMPq2aBXQQ92NHxJmYtXaJ8T +xn5GAbY4zeMlQVhb3Jp9p5DPt+wGiE+gYjBOHcjyL1osLuQa8QL7fLdJZiUiK8qiUnN hZpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687937927; x=1690529927; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=N8eU5Y3zvVqXswBvxnobuT69co5G4JYaSAmSxL4HP5I=; b=dYwh1gaQ8fDDVn2cUxHF2o4wmhYtMYXXoZszn/c1KF7CR+rBfsBCBcn8RpcVGDY4tL UXDmdQ8ZnZuyV3t5r3uC5d3oWDrqq8jtQhLL9fohVlCeA+Uc2UdIrpxo8wj+Tdvo1Su2 yHUFRvhiRfidK1Q3ZkTJuGaO6AJ+wFP7rp246yFRmWJ38eMAdb17s0G9VT2DbI0Oldr1 H0+Bi3G2osgP/QwlHJYmv5t3w69mY5jn8FJmHFg+siNX6t/A3m8G/m5UFsY/DKUsV6/3 V8ctiug95vMM7e4u4sMsGtZEuZltQ59Up2iFzusIqlDRwluOY1NLh13GQOsMjV/b3rE8 N5bg== X-Gm-Message-State: AC+VfDxJWaQ3Cr218/mnwuFe6JettR/z3PenwbxiXlO8YkviNfHLCyDE JIMnqGiB0EXfv+29v+3CUYtFyoMvD7sBINhnJtZAkA== X-Google-Smtp-Source: ACHHUZ7N8Uha6Q9a6kgdlbFtcYCIKtXqFEnlBO0klHtjLaWfqR9a9OducDDRcHuPbIeV9f7XY4m0mw== X-Received: by 2002:a1f:bd88:0:b0:46e:8e97:5e50 with SMTP id n130-20020a1fbd88000000b0046e8e975e50mr16667542vkf.15.1687937926892; Wed, 28 Jun 2023 00:38:46 -0700 (PDT) Received: from localhost.localdomain ([37.218.244.249]) by smtp.gmail.com with ESMTPSA id t126-20020a1f7884000000b00456bc456eaasm1860329vkc.8.2023.06.28.00.38.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 28 Jun 2023 00:38:45 -0700 (PDT) From: Glenn Washburn To: grub-devel@gnu.org, Daniel Kiper Cc: Gary Lin , Glenn Washburn Subject: [PATCH 0/3] Improve newc generation logging Date: Wed, 28 Jun 2023 02:38:21 -0500 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::a2a; envelope-from=development@efficientek.com; helo=mail-vk1-xa2a.google.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2023 07:38:51 -0000 The first two patches stand on their own, but are needed for the last patch. The first patch adds the support for the %o format specifier, which prints numbers in octal. The second patch was something Daniel requested in reply to a different patch, adding PRI* macros for types grub_off_t and grub_disk_addr_t. And the last patch improves the logging when generating newc archives on the fly. Now all paths generated will be logged with their size and mode. Glenn Glenn Washburn (3): misc: Support octal printf format code include/grub/types.h: Add PRI*GRUB_OFFSET and PRI*GRUB_DISK_ADDR loader/linux: Print debug message for each generated newc path generated grub-core/kern/misc.c | 13 +++++++++++-- grub-core/loader/linux.c | 3 ++- include/grub/types.h | 7 +++++-- 3 files changed, 18 insertions(+), 5 deletions(-) -- 2.34.1