Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp21050pxy; Fri, 30 Jul 2021 22:26:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyjzxTE36P0XrU45zVcXiHf2/XIKR2NrbFec/8IGrXXnqDsFARTNNWTsrWpYoVePvo+yBLR X-Received: by 2002:a05:6402:1456:: with SMTP id d22mr7343780edx.143.1627709160001; Fri, 30 Jul 2021 22:26:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627709159; cv=none; d=google.com; s=arc-20160816; b=onLI9RmwCoUdF5PdknYgOlbfEbjvwu3Lm1Cs5kzz/0DcaBJ4VNZfLdDfAIHXoZy+NC +bzUL/zTJaGfvgAWmnQvc4TnxDksvS19PUHbgJrp8O82iFnE5oQfCz6iVeAafmcJD9XS M9CJKkvyZ9iqdKGvSRTaKnhKgQjY4F08ETeMhLxBRUZZ8+pHGHKlFOrD+AjOyxP6xD2+ gUNN6dvslVBltUVlG9viJQ52GzbW/2PqmMBufoIqvdlcSz8wPGBggFprvZ6iLQpBGLqv RXK/8F739RCcL9FmZT5V8mCPhpirQOsbh3PBTRjJZfLTVmVGfZBrxsIQyFa7pZW29r6v 4wsw== 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 :message-id:date:subject:cc:to:from:dkim-signature:dkim-filter; bh=Rb2s+bbFKWl9vdv+qc1BGZT64bxntUFlwVRO5TgojSQ=; b=jx78lBW3TQ1jR3fuZzx9vOhX2BulrihQ3oxkdiZiuIXfpZu38j9cP0PRnWBTfXtFhN zFs1sGV7SPPwSPr2K038XsVILO//ZoJVJ0Wq+heQwEuFWXJ1AX71nebwSE0iXuhyJvt4 kd0uDjQ5oIcrEajGFQ0cnHbGWaHRfU02koNCq7QC+4fdLJEURBQAu5A8dw5EJgubnA+G XIOLTYDKJRhXmKeB3F3CcKuriCfLtNzaeB/qFygAiVumjk/Ao00iC1BIjCabap9RkNeF A2eV1NRYci8OTswlrjBWSUjptgijJv0w9d6APsU3jfAzGcnNMTwhHGl0wdb1AO1aVia6 gPEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=LLVCc19q; 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=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p21si4324393eds.488.2021.07.30.22.25.36; Fri, 30 Jul 2021 22:25:59 -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=@nifty.com header.s=dec2015msa header.b=LLVCc19q; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231529AbhGaFXl (ORCPT + 99 others); Sat, 31 Jul 2021 01:23:41 -0400 Received: from conuserg-07.nifty.com ([210.131.2.74]:28794 "EHLO conuserg-07.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbhGaFXk (ORCPT ); Sat, 31 Jul 2021 01:23:40 -0400 Received: from localhost.localdomain ([133.106.57.58]) (authenticated) by conuserg-07.nifty.com with ESMTP id 16V5MZEH012804; Sat, 31 Jul 2021 14:22:36 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-07.nifty.com 16V5MZEH012804 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1627708956; bh=Rb2s+bbFKWl9vdv+qc1BGZT64bxntUFlwVRO5TgojSQ=; h=From:To:Cc:Subject:Date:From; b=LLVCc19qSQ0IUzrSIi7DLIFjq8/03pilxZNBjvPRdhDUkD0qKmKLfVjU4Kn8Wj2MF LwgblzZ5ZFvDG1pS5uOnHw8SoVpXoyUghbwAGjoyQZloL/sFwo9wPWac+ZFD73KK50 S6e8+ZP6CugYVTr3FcB8syyaz/36t5ImPHeNZp9WDFzj15t0fcc3lC8Cbt2OlB1xLh 1jItWIF1ydKyg4fGaMWJGLkcBMWtLeWXf0tt9t5F+yYB95jNyp62crWYKwmImk/jnf hN6Rc4xpeT2FAU5wTisPwRVkCW2Sb/rTxLRQoU3R/eo2XuCA2hzXV5e6uWAduNVzuy mYqNlpsnrXqpg== X-Nifty-SrcIP: [133.106.57.58] From: Masahiro Yamada To: Steven Rostedt , Ingo Molnar Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH 1/3] ftrace: simplify the Kconfig dependency of FTRACE Date: Sat, 31 Jul 2021 14:22:31 +0900 Message-Id: <20210731052233.4703-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The entire FTRACE block is surrounded by 'if TRACING_SUPPORT' ... 'endif'. Using 'depends on' is a simpler way to guard FTRACE. Signed-off-by: Masahiro Yamada --- kernel/trace/Kconfig | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index d567b1717c4c..9d3f918b5867 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -135,10 +135,9 @@ config TRACING_SUPPORT depends on STACKTRACE_SUPPORT default y -if TRACING_SUPPORT - menuconfig FTRACE bool "Tracers" + depends on TRACING_SUPPORT default y if DEBUG_KERNEL help Enable the kernel tracing infrastructure. @@ -1032,6 +1031,3 @@ config HIST_TRIGGERS_DEBUG If unsure, say N. endif # FTRACE - -endif # TRACING_SUPPORT - -- 2.27.0