From patchwork Wed Dec 13 20:47:00 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Steven Rostedt X-Patchwork-Id: 121861 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp5960071qgn; Wed, 13 Dec 2017 12:48:47 -0800 (PST) X-Google-Smtp-Source: ACJfBouBTvhXT0El7liQumpULLDf4wZdRmL3/rORLI2ua9S/co0XX74+Y+AsfSNG4C7id3gEASn7 X-Received: by 10.98.242.67 with SMTP id y3mr7271800pfl.82.1513198127841; Wed, 13 Dec 2017 12:48:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513198127; cv=none; d=google.com; s=arc-20160816; b=tuIXT0o6OXpGYcAwU7dHpcb4TpAF8OaMkuhguNTBOwhSRI1b3fIEy9Lzwg4MHfxEpE VQrcV7zn575La9ykM5BZgoRWWdzmKNPoUDY1+oKZejMch3QSjiKX4OPSpEuFTSUKXIZt 1UBYzujKGQGQRvnNRZsGP2bAJ0L/t+nDihmIgxY7TQVbZE/mRpCOJF0MTKpxVbg3uvi7 39KHelA8KplHy3yGpiot/6aLcSbTcqhIoSvHDzZmN8a6dyWleYD26cIagj3KdBVcAs+S eV7hKqdQsPjRSPdArED0eJb0yo3PcrOEiK7Oq3Vq3NufL/X7ds46WxfF8pCJZLHJ3i5N KJqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-disposition:mime-version :references:subject:cc:to:from:date:user-agent:message-id :dmarc-filter:arc-authentication-results; bh=mlFuLxqCPQHXYwmZyHnzYFe3y0f16FKb/8ycRIaKfZU=; b=za6FcDx94qlZgEjkuW2r6pmbPW+sVuwJiuTToCg3A3e9C/IBGqsOIqZcN0lRexKicz zOjBrVj8mguVctaC832cqHdsitoPuXMCUCghvhdCX8Tnw4JEPhWXn6lbfg5sg8sh0kYC jZBcCl7WP+54UFYoioShJlhz8UOULGbDn2tGOw6ukYl0kawJIMiMBlvs1OX+7/KjdknX ozknZ1jVbNMEXTOpeGZLwy5xspRsMtrpgXEIQvHhIqlVQP3tJybsUfr6SiZu7Rhus9MJ 3e/of6c5iLKNQ8o5tCLc9L94p/I2IMXdgyOmIR9RNJIVFxPX+ALC+/3t47+pMga0QKte odZQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p8si1987000pfj.378.2017.12.13.12.48.47; Wed, 13 Dec 2017 12:48:47 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754026AbdLMUso (ORCPT + 12 others); Wed, 13 Dec 2017 15:48:44 -0500 Received: from mail.kernel.org ([198.145.29.99]:47926 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753766AbdLMUrj (ORCPT ); Wed, 13 Dec 2017 15:47:39 -0500 Received: from gandalf.local.home (cpe-172-100-180-131.stny.res.rr.com [172.100.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id A2E56218DC; Wed, 13 Dec 2017 20:47:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org A2E56218DC Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=goodmis.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=rostedt@goodmis.org Received: from rostedt by gandalf.local.home with local (Exim 4.89) (envelope-from ) id 1ePDwH-0003Qa-PG; Wed, 13 Dec 2017 15:47:37 -0500 Message-Id: <20171213204737.672456234@goodmis.org> User-Agent: quilt/0.63-1 Date: Wed, 13 Dec 2017 15:47:00 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Ingo Molnar , Andrew Morton , Arnd Bergmann Subject: [for-next][PATCH 4/7] tracing: make PREEMPTIRQ_EVENTS depend on TRACING References: <20171213204656.366789624@goodmis.org> MIME-Version: 1.0 Content-Disposition: inline; filename=0004-tracing-make-PREEMPTIRQ_EVENTS-depend-on-TRACING.patch Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Arnd Bergmann When CONFIG_TRACING is disabled, the new preemptirq events tracer produces a build failure: In file included from kernel/trace/trace_irqsoff.c:17:0: kernel/trace/trace.h: In function 'trace_test_and_set_recursion': kernel/trace/trace.h:542:28: error: 'struct task_struct' has no member named 'trace_recursion' Adding an explicit dependency avoids the broken configuration. Link: http://lkml.kernel.org/r/20171103104031.270375-1-arnd@arndb.de Fixes: d59158162e03 ("tracing: Add support for preempt and irq enable/disable events") Signed-off-by: Arnd Bergmann Signed-off-by: Steven Rostedt (VMware) --- kernel/trace/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.13.2 diff --git a/kernel/trace/Kconfig b/kernel/trace/Kconfig index af7dad126c13..904c952ac383 100644 --- a/kernel/trace/Kconfig +++ b/kernel/trace/Kconfig @@ -164,6 +164,7 @@ config PREEMPTIRQ_EVENTS bool "Enable trace events for preempt and irq disable/enable" select TRACE_IRQFLAGS depends on DEBUG_PREEMPT || !PROVE_LOCKING + depends on TRACING default n help Enable tracing of disable and enable events for preemption and irqs.