Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp1420936pxj; Sat, 29 May 2021 13:03:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+hUr1Boz5mANU/0xyFoGj/GYHlA2eYcKE00OtntVJzYg/qZts3a8XgIazT7e1UiuCuL21 X-Received: by 2002:a92:d24d:: with SMTP id v13mr2759944ilg.165.1622318602358; Sat, 29 May 2021 13:03:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1622318602; cv=none; d=google.com; s=arc-20160816; b=DtovJ6Py6NiGQPg9tmpKyJmGWSyq50P0U/XIy+7zlDb/esUL85/dSxnhfuAKV7sxH/ bfTPQxvwbVNPFpRwCL2hLSwcgrgT6oIsvcAXWhXmXVCSWetd34e4ETILrR5f/Mj1yqpA 4LgjP6/LjB0GDy8hzNFLFkAcvvFFcF3m9NEsd3HfVJigzjScbGzTPf3vd+tBDrIglCdb F0ord4wW9hE26bcS5gZuflwPYTIWJ/zasNbDDpiOCjgbxzbNE8R2Gqg+w9FhV6+pU7FE lw2JpVxn/f7GIDdDQ1wC98uAFPfkt2p2C+vZJVwuY37bItLSY4wLJis/TBwDJPlueP6q +nVg== 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=9c/jewxPCWAXySvELUdq/qwVXLJZWJe6/GqALNqnijY=; b=JnPHiXRzjswubOdQPKjnjZyB3/PW2KkZpxiv+59nJKfJEr/zKpCR95iaErJnr1rGX9 fY+RGC6sccX8G4+t4QgOzkHcamg9bGHVL/sfJKyM714i/apidRY1snw0RtdWHxsVtNzl zVLF9K449UV2JfPnBmgVUWnvVv+suiNMkj/vG6NANbYz5C8Zp7jgXx6ZQUqkW6HRxmvo sMm9S1XfjPycLT+6emuNAtzwGZfktC7F8KBWYTcWwY6UhxiVbsu79RUrG0gUGc4zDH/J hQQtRBXyGcw/l/BsdXEmYGFtMTScC+OHQLkW90p68oMLGNjXx6p6H5yFZ96f3apYYHvv yvtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=asPM6+lF; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f14si9503379jav.44.2021.05.29.13.02.59; Sat, 29 May 2021 13:03:22 -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=@gmail.com header.s=20161025 header.b=asPM6+lF; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229814AbhE2UD5 (ORCPT + 99 others); Sat, 29 May 2021 16:03:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51928 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229795AbhE2UDx (ORCPT ); Sat, 29 May 2021 16:03:53 -0400 Received: from mail-oi1-x229.google.com (mail-oi1-x229.google.com [IPv6:2607:f8b0:4864:20::229]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24FECC06174A for ; Sat, 29 May 2021 13:02:17 -0700 (PDT) Received: by mail-oi1-x229.google.com with SMTP id a13so2553512oid.9 for ; Sat, 29 May 2021 13:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9c/jewxPCWAXySvELUdq/qwVXLJZWJe6/GqALNqnijY=; b=asPM6+lFwiR9wGWh2urUrcW8H97Kf3hXt2nTw51TJRh/qL1zp9pUiCqZHuMxrhaNpV qQOFm/XJfuB61vhE0fK+t5VjClr7kBflfjHg+cuMu31EqMr3BFYoLmaXpIpXBAPIRZAs Pgq2lzUssxHfyKbW7uRkXSUgQYJaa9K3SRUl0b4d3VAb5fYrEk8x52EC8pnyoPJ43LFs JHPzdEAkW60VPxwN0i4vC7/KbZuNh08DYu4PTstsDYO2cZYfR/VfPAifBg1A5UpW4iMr qxipOyvk9Owy1esN5IW1+KyV8S1hETjTeh4xYI0L5tPvL//KFTpD3Lv4ESiLwChWySgN Xfsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9c/jewxPCWAXySvELUdq/qwVXLJZWJe6/GqALNqnijY=; b=cS1kgvdWiVmS/LiiRYOxhFkNQHDRz8YpcxqNcbcJsRGkwVyeIr+bZP+E5BlPln2J9/ sQ7tdXvGlgSpz79dDuo3vvBN6xtQhlNC+vEVOuA27qcH81RS4OsC8oYECW2djlufDzow 5cc4sWlBQS130lrkzIZn2kw/blCTAs/q6G5DCYFzDF4RYpgRmzevflLmVLgQRPaCc8vz TV8ARTUaCXjtJoyTwmAKAYvuqtDSKpE/rvh5zoUQ1CtTzAhzxvc9acl+g/k6mImSscFK yHqGnZOi8PM0efE4n4Rn6tWxDGfYRk0xoDgRIv+afCCXRU4poYS7SANGgXev5IpXycvC bpeg== X-Gm-Message-State: AOAM533g/eGNUDvzUYEUoJBCuxn7Z82rqVqdeAAiAn4VWI5MdLvfPkkC ZjsA4C+gyGwmnQamlBNTaJc= X-Received: by 2002:aca:d409:: with SMTP id l9mr9939696oig.77.1622318536577; Sat, 29 May 2021 13:02:16 -0700 (PDT) Received: from frodo.. (c-24-9-77-57.hsd1.co.comcast.net. [24.9.77.57]) by smtp.googlemail.com with ESMTPSA id t39sm1868064ooi.42.2021.05.29.13.02.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 May 2021 13:02:16 -0700 (PDT) From: Jim Cromie To: jbaron@akamai.com, gregkh@linuxfoundation.org, linux-kernel@vger.kernel.org Cc: Jim Cromie Subject: [RFC PATCH v6 03/34] dyndbg: display KiB of data memory used. Date: Sat, 29 May 2021 13:59:58 -0600 Message-Id: <20210529200029.205306-4-jim.cromie@gmail.com> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210529200029.205306-1-jim.cromie@gmail.com> References: <20210529200029.205306-1-jim.cromie@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org If booted with verbose>=1, dyndbg prints the memory usage in bytes, of builtin modules' prdebugs. KiB reads better. no functional changes. Signed-off-by: Jim Cromie --- lib/dynamic_debug.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/dynamic_debug.c b/lib/dynamic_debug.c index 3a7d1f9bcf4d..ab8fc16911ae 100644 --- a/lib/dynamic_debug.c +++ b/lib/dynamic_debug.c @@ -1117,9 +1117,9 @@ static int __init dynamic_debug_init(void) goto out_err; ddebug_init_success = 1; - vpr_info("%d modules, %d entries and %d bytes in ddebug tables, %d bytes in __dyndbg section\n", - modct, entries, (int)(modct * sizeof(struct ddebug_table)), - (int)(entries * sizeof(struct _ddebug))); + vpr_info("%d prdebugs in %d modules, %d KiB in ddebug tables, %d kiB in __dyndbg section\n", + entries, modct, (int)((modct * sizeof(struct ddebug_table)) >> 10), + (int)((entries * sizeof(struct _ddebug)) >> 10)); /* apply ddebug_query boot param, dont unload tables on err */ if (ddebug_setup_string[0] != '\0') { -- 2.31.1