Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp1825993rwb; Thu, 8 Dec 2022 16:06:50 -0800 (PST) X-Google-Smtp-Source: AA0mqf4/FgCF9EWgjDbOk4LYO9N/9soGJRywDQhkm8imhyUnRpCzoQTi0bnaEEV5FtmRL6fTGkY9 X-Received: by 2002:a17:903:442:b0:189:469c:dc0 with SMTP id iw2-20020a170903044200b00189469c0dc0mr3037965plb.7.1670544409770; Thu, 08 Dec 2022 16:06:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670544409; cv=none; d=google.com; s=arc-20160816; b=nWnkTzQRe+4t6DPiEG5UqZP1yBJV7DG/jAxTAjgFXhheKa7gYtY1RKllwL4lVOndok cG7GA9E6o2FO60zseJUuT6k9/mr3rvfrf+r/8V35H72SUTZZy6ucHsONsDWHU7t12JaU HzhWavHEzsAbdxp1KObGh4RzfJDiQxfddlw9ewzu1Xp9+WshlpZxa5SK0UYMkrZJ7tr6 HZMSk+SIB26isPzapfFdCKdl4VhWaF1l3RRa4BGLorXOLw1VYcOfgzPzCAurBlWWA1FQ arHpMwKPlojzYpONPiZWFvRJvrDkrONdsNYnI4xbwxP/w5kqhF5VPfIa4vCJtNmvA5Ls ZaWg== 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:subject:cc:to:from:date; bh=vTYWzWqj4GqSxzzpjPQ6y/o45/eXwzojypY+Mky98ek=; b=aKVooa+URp3f5KFZxI8sjJ5rdtw3gHp+hHjullmXqiTAp6CL8v7QtNxf0sbe06lcL9 gnLYgWCDh92nSSqmRXjX0Tp/mQ86jJ5ETzEhpWJ241LFRjTu3G13PtBZ/+UI+cw1VxXV jO2sp6acbaCMLwenSZRO3Vd094EYnaMxaDVQWogzjHx+TwNskuF4enyYVJE7DFISC7kc UI1klnHbtGkiMBpmr/JQ9ZJXAxNtu8tUN2C9hcFmW1PJdN3whxM8jov0OISH5FYf68DQ 3aGDZ4BBgiaJ7oQb103eAf8jlqPkxeERZZmkX1MkBozMUdhIWnECzfz5JCAlTpWuyJAO KaXA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id iz15-20020a170902ef8f00b00178aec118c9si4749plb.378.2022.12.08.16.06.39; Thu, 08 Dec 2022 16:06:49 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230300AbiLHXmd (ORCPT + 73 others); Thu, 8 Dec 2022 18:42:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230498AbiLHXmM (ORCPT ); Thu, 8 Dec 2022 18:42:12 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CD4502DF3; Thu, 8 Dec 2022 15:39:50 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 72781B8262B; Thu, 8 Dec 2022 23:39:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E3800C433D2; Thu, 8 Dec 2022 23:39:46 +0000 (UTC) Date: Thu, 8 Dec 2022 18:39:45 -0500 From: Steven Rostedt To: Ross Zwisler Cc: LKML , Linux Trace Kernel , Masami Hiramatsu , Andrew Morton , Mathieu Desnoyers , paulmck@kernel.org, Joel Fernandes , Tom Zanussi Subject: Re: [PATCH v2] tracing: Add trace_trigger kernel command line option Message-ID: <20221208183945.1de18843@gandalf.local.home> In-Reply-To: References: <20221020210056.0d8d0a5b@gandalf.local.home> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 8 Dec 2022 15:27:07 -0700 Ross Zwisler wrote: > > +#ifdef CONFIG_HIST_TRIGGERS > > Can you help me understand why this is only available if > CONFIG_HIST_TRIGGERS is selected in the kernel config? AFAICT this > code doesn't depend on the histogram code, and the run-time selection > of triggers is usable without CONFIG_HIST_TRIGGERS. Good catch! I got confused, and only saw that as "CONFIG_TRIGGERS" and wasn't thinking that config was just for histogram triggers :-p Care to send a patch to fix it? Thanks Ross, -- Steve