Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp483405yba; Fri, 5 Apr 2019 10:27:37 -0700 (PDT) X-Google-Smtp-Source: APXvYqwr42cXJ3ApLvu/ySomyW2IiWwE2ggebXkKFvia/LtOygoNQPUwBD3j3dJcWJ7PJHFMOEOF X-Received: by 2002:a63:6941:: with SMTP id e62mr12707921pgc.99.1554485257108; Fri, 05 Apr 2019 10:27:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554485257; cv=none; d=google.com; s=arc-20160816; b=Al06qUX6S4dLqLHeaUgZ6ZXiqbwB03ce5rUts+v5/We3Iss3jq4NHjXWZdPRGx+DIw v2A6mIcD9MY10L6XNaefoeAXg1HwCmBYgm99hxGu4+1uMLIjWTyoxwXIOG6PA30Lyeak HsY4wRxaTUqxkyvCIxFMLLIQ8+XZXc9qIYwo4S+82KI2tecb66TSFImU+Ifrxa9gx6d3 DSPJydtfSSeQhFDlRf1bm3u2dEjBtMW535QikJwkN2+D1DkzuCThGn3IM1t0eBGgKv1n uvZyOeq1KOzO0RKPDHHtp90NACB9wDOag0A0kVwI04qT3oDmx05e8wHN+Ye18Z+l9txL ws4g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=pJRBVyuiCCfrlbGs6icGtD5XMIrTL9vQqsY+931hxqs=; b=tycKssN2ff3Y1hjNW/L7MzSTRNYg59CTEWu0RpgxRbltJKJUqKg/TYLBgd7u1tJH/A 2Byt49C8VgYNKSqe2AbPguWCC8WaGlbnHbxJ+cLmpY4pqSCJomNvysZsGobKWY/EKh4r JSk9LO7eHOhwwhUmbVY8fNWml2n+qjaqkjVdAtMjcBwlO9POQNYOUf8UEF9bLyhRRpaz vBvG+2Bcpaf/yptGOLdOhmD5bo45SNRKDoAy5qX5j+RYCJvh42UrlnH1WoI62SpljjI6 2r6oGKYHxjay59fZ2ivBRodMObKWoaLhPaty303hTHPC7x7sAyuxHeARNTN/KQZe5O/y XtsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=wStOR+6j; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u20si19229684pgi.431.2019.04.05.10.27.21; Fri, 05 Apr 2019 10:27:37 -0700 (PDT) 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; dkim=pass header.i=@linaro.org header.s=google header.b=wStOR+6j; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731474AbfDERZd (ORCPT + 99 others); Fri, 5 Apr 2019 13:25:33 -0400 Received: from mail-lf1-f68.google.com ([209.85.167.68]:37559 "EHLO mail-lf1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731133AbfDERZd (ORCPT ); Fri, 5 Apr 2019 13:25:33 -0400 Received: by mail-lf1-f68.google.com with SMTP id o19so4932086lfl.4 for ; Fri, 05 Apr 2019 10:25:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=pJRBVyuiCCfrlbGs6icGtD5XMIrTL9vQqsY+931hxqs=; b=wStOR+6jt3F8Y4gZrOUGErlq4WOrdAD3T+qW45g7esdNf8lham0REh94WH4nGHX3Yr c8Kk5ET9Rq5NzoNUEVbRP4maGHfoRjmS5fLlQX6rFs2J/fZGjSff0EJVh0iT1VJvv73s pf1QFS89NK2huLunASaxUnGqWGCjHVgbuarFX1wYCgbJieqBbJfR/On6vJe4rdsLrn+D jnoLb+/ltb7Mj5j77QazAU6kVBNWXQcYDAR7FN3OK+JhTyDfFLwTmh2WwnCky8+ir+ix qRcacs2yU71dyIz9gpw6q5YFZh1VmPNp5TNKa04SXWIKZD4Gav1ElBBJHcf/KGwQVe5p 5grQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=pJRBVyuiCCfrlbGs6icGtD5XMIrTL9vQqsY+931hxqs=; b=TqSp778chmxKWlL8xY8WR/Z6cn17dP3u+Rudf4qccrsZ3CuMeetM4Gg29SQBkdn2hO 5lEM88R2X2jseAAp36ulvYir0TMtE81FWUSbL67i1e3CgwTvj20HupudIwiqDXVEA84a 7Je+cIz90n3veTKIZhvetB5ll04MftttKhWXHsJ1lVJuhjd8vYLhUGKbAGetbuRK/fFE 9YR1YIUpFX1XjSLcceVzoVe2mNx8WRCmS+pJ78a/8gao6tR9rXLpmWAA88HuFfCQitgK p3bwyNFD1sLBaF8Cq+/5n1j69c9B/in3fr/ZFqZSixicmTFyp+NQXGtgFgu/Nl/77rjx G8tg== X-Gm-Message-State: APjAAAVhTqGIYZlu5t4iV7/z/FU+Wik6rbpU5DNNTfEl0EvDvBb1xmZu a9w+slp4O/m3RhGiFKLVifoZufdqHvDnDOugx7rHIw== X-Received: by 2002:ac2:54b0:: with SMTP id w16mr7661706lfk.138.1554485130792; Fri, 05 Apr 2019 10:25:30 -0700 (PDT) MIME-Version: 1.0 References: <1438432079-11704-1-git-send-email-tal.shorer@gmail.com> <1438432079-11704-4-git-send-email-tal.shorer@gmail.com> <20190327161158.GA26067@taurus.defre.kleine-koenig.org> In-Reply-To: <20190327161158.GA26067@taurus.defre.kleine-koenig.org> From: Linus Walleij Date: Sat, 6 Apr 2019 00:25:19 +0700 Message-ID: Subject: Re: [Patch v3 2/2] tracing: gpio: add Kconfig option for enabling/disabling trace events To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Tal Shorer , Steven Rostedt , Ingo Molnar , "linux-kernel@vger.kernel.org" , Sascha Hauer , "open list:GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Mar 27, 2019 at 11:12 PM Uwe Kleine-K=C3=B6nig wrote: > It happened a few times to me since this patch was merged (in 4.4-rc1) > that I worked on a system with tracing enabled but > /sys/kernel/debug/tracing/events/gpio were missing because of > CONFIG_TRACING_EVENTS_GPIO=3Dn. This is annoying and I wonder what is the > motivating purpose of allowing to disable gpio events. There is no other > event type that can be disabled with kconfig symbols. Theoretically the > overhead should be so small, that having these events enabled > unconditionally should be fine, shouldn't it? You have a good point. We should not do anything special. I guess by the time this was merged I believed it was customary for trancepoints to live behind a Kconfig option. I guess it is not. I happily merge a patch removing this again if no case can be made for it. Yours, Linus Walleij