Message ID | aee4200cce1c09992ed055006a81fde1b6b5b567.1656907314.git.remckee0@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 07C2ECCA47C for <linux-mm@archiver.kernel.org>; Mon, 4 Jul 2022 04:07:18 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 8118E6B0074; Mon, 4 Jul 2022 00:07:17 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 79AB08E0001; Mon, 4 Jul 2022 00:07:17 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5EE8D6B0078; Mon, 4 Jul 2022 00:07:17 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0014.hostedemail.com [216.40.44.14]) by kanga.kvack.org (Postfix) with ESMTP id 4BE9A6B0074 for <linux-mm@kvack.org>; Mon, 4 Jul 2022 00:07:17 -0400 (EDT) Received: from smtpin03.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay12.hostedemail.com (Postfix) with ESMTP id 24651120C95 for <linux-mm@kvack.org>; Mon, 4 Jul 2022 04:07:17 +0000 (UTC) X-FDA: 79648082514.03.D30F1D0 Received: from mail-ot1-f68.google.com (mail-ot1-f68.google.com [209.85.210.68]) by imf13.hostedemail.com (Postfix) with ESMTP id A454820010 for <linux-mm@kvack.org>; Mon, 4 Jul 2022 04:07:16 +0000 (UTC) Received: by mail-ot1-f68.google.com with SMTP id l9-20020a056830268900b006054381dd35so6796966otu.4 for <linux-mm@kvack.org>; Sun, 03 Jul 2022 21:07:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=DfXx6OUKFv9lmYSVpe2VK14vOIkFTYrGx9cnZE6j00U=; b=bvZuO32vJ2MCGPhr75NSscuQcLF7fdjUpkGaB7ujgdZ7K8joQaXmKsfPYgSak81Plk dhoPh4p90SN7qXr4wdTWDfC2Jf090G37MajTNPOTq2lvGYaCgLdUczxIt3rIlzsoE/kO U7RZfauPfFIq3s9mPTtYXcYgAx/ABINwR5dW8g85FT/TsxZmnNtUvW65unhCKviKzfJo E/eQes5imgo8eBAg1kYhyNdcOpYKRg8M60zNPy+IR9DOtpcYOAcfZ87BeDLV1UKuhL9W MfdXiH1I+FIAtwVjbTR/0KTwnsSI8aZfPmguxLr8e5sSyB/4lzmetZE6u6tBH2fBTvAw PrQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=DfXx6OUKFv9lmYSVpe2VK14vOIkFTYrGx9cnZE6j00U=; b=G1I31gXy5SSk4mblAgf1vuwDRBcn49MNftGSPpeh6+QsY/mrTyaglxBpwjJjfgu2aV ekGx6cukr7eNEiQhEM8SZsswurwaScgsWfGkh9shxbMN0LXXw9G3np5EA9WmOu8drnwk wxiUA4kzDb8F12od35hGGBLJx/+XNlxVUdHr169HpYeguWLA9EG/507mG9vS3Qr4s70W 4e7YbRpuch/3JV7yEFWzY7xjNRnHHVRghxLNyY7VDXtUO7OwT3gyhPJsAtjNJK+U9wcY ucMnXhEORjFzdCOAXWsqzrBbMbYM2VWPQC1vS8sHPGNkOJxLc7M28G6Q17Z/AtvmRat0 k7ig== X-Gm-Message-State: AJIora8eqSGW22jH/LyZ16oJ5YDTvL4EQq9Ho4lkhIxrpEfiTQRWplVH SjI+TMHHEQfzw1Z7MkxEa0Q= X-Google-Smtp-Source: AGRyM1sbIfiJ+QR7LTy6Xg6T8755iwDb2eCo2/QbwTTb5gbze+0xpygZ4kwQxX0+jHlfHxHzZ4s+hA== X-Received: by 2002:a05:6830:1216:b0:616:e7e6:501a with SMTP id r22-20020a056830121600b00616e7e6501amr12208407otp.311.1656907635929; Sun, 03 Jul 2022 21:07:15 -0700 (PDT) Received: from bertie (072-190-140-117.res.spectrum.com. [72.190.140.117]) by smtp.gmail.com with ESMTPSA id bo44-20020a05680822ac00b00335b297ec71sm6079090oib.9.2022.07.03.21.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 03 Jul 2022 21:07:15 -0700 (PDT) From: Rebecca Mckeever <remckee0@gmail.com> To: Mike Rapoport <rppt@kernel.org>, linux-mm@kvack.org, linux-kernel@vger.kernel.org Cc: David Hildenbrand <david@redhat.com>, Rebecca Mckeever <remckee0@gmail.com> Subject: [PATCH v5 3/4] memblock tests: set memblock_debug to enable memblock_dbg() messages Date: Sun, 3 Jul 2022 23:06:57 -0500 Message-Id: <aee4200cce1c09992ed055006a81fde1b6b5b567.1656907314.git.remckee0@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <cover.1656907314.git.remckee0@gmail.com> References: <cover.1656907314.git.remckee0@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1656907636; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=DfXx6OUKFv9lmYSVpe2VK14vOIkFTYrGx9cnZE6j00U=; b=v312a1bpGl61+AjLBETli4WULaT//1r1jjeiS+30clfGyGWeCZYm7pJzLsZh+vjZDvYmnc 6QHvKOV98i+8ZqWVd403PehTvPYkgk10YYwqo7E8I7hKFHtQ6ifmPavpnDf8KX6ChlMCIk NmUPaFJdFaHfIoNEim9N+ltDoo/DF5o= ARC-Authentication-Results: i=1; imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bvZuO32v; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf13.hostedemail.com: domain of remckee0@gmail.com designates 209.85.210.68 as permitted sender) smtp.mailfrom=remckee0@gmail.com ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1656907636; a=rsa-sha256; cv=none; b=7+Qh7klQi+pnkjSSREpoULr3Gf0RrVAdgQ3G5Pf2beZvMq8AgM5X6A4fqH1wlciUezlB6P lejY+syazTkOO2/TSe/Q8BJagBrkOyIhNM55nLqBmqTLCsLiFB0a4h5TVnpjol3woKSKc7 j8Mt1O9csqxq7iEavSdlgrjU7E1Vm1U= X-Rspam-User: X-Rspamd-Queue-Id: A454820010 Authentication-Results: imf13.hostedemail.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=bvZuO32v; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (imf13.hostedemail.com: domain of remckee0@gmail.com designates 209.85.210.68 as permitted sender) smtp.mailfrom=remckee0@gmail.com X-Stat-Signature: ec9yritu76zau85ysza3r5sx79oen5q5 X-Rspamd-Server: rspam08 X-HE-Tag: 1656907636-335230 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000002, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
[v5,1/4] memblock tests: Makefile: add arguments to control verbosity
|
expand
|
diff --git a/tools/testing/memblock/internal.h b/tools/testing/memblock/internal.h index 94b52a8718b5..c2a492c05e0c 100644 --- a/tools/testing/memblock/internal.h +++ b/tools/testing/memblock/internal.h @@ -2,6 +2,13 @@ #ifndef _MM_INTERNAL_H #define _MM_INTERNAL_H +/* + * Enable memblock_dbg() messages + */ +#ifdef MEMBLOCK_DEBUG +static int memblock_debug = 1; +#endif + struct page {}; void memblock_free_pages(struct page *page, unsigned long pfn,
If Memblock simulator was compiled with MEMBLOCK_DEBUG=1, set memblock_debug to 1 so that memblock_dbg() will print debug information when memblock functions are tested in Memblock simulator. Signed-off-by: Rebecca Mckeever <remckee0@gmail.com> --- tools/testing/memblock/internal.h | 7 +++++++ 1 file changed, 7 insertions(+)