Received: by 10.192.165.148 with SMTP id m20csp5103520imm; Tue, 24 Apr 2018 13:50:01 -0700 (PDT) X-Google-Smtp-Source: AIpwx4/tNuUeuPirLHuOni1olJWKj2Pn/Zzrud058nw2eSPLOkuk1GkdTnKVg79LUAPZ9Z8TH/xn X-Received: by 10.99.116.19 with SMTP id p19mr21322739pgc.230.1524603001254; Tue, 24 Apr 2018 13:50:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524603001; cv=none; d=google.com; s=arc-20160816; b=07KU978MOIZy5dvGJ1lPDbhgPCzQKHQw7Nq+nKX0zDLFiYzUNlra8a40dML2nHhkbo w5Z4s2sFt+viLYIODIU8CuEykeHq5ITNjNuXcYb83VcankJN6vbMn2xt50KG87VezdzS niyldQNxSf/h1iL5MP585Orz2BOS3PIL3vnrqdU1PXYtXOIQEAcrsjr9gwI+ppTw/Pgf HknoMiQvWJgqDB0NiBdzxNQu0QKRbkcNlCwBsM4OkiYns3Kdmg4gQ8OGmkw54yeJuHcM PaJo0aqm5g7VRPBj1U2J5j3vkeBmttNSkgKJpO0cEYHvSklnIQtv0NodAGeNdbcZosgH VxTg== 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:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dmarc-filter:arc-authentication-results; bh=kgaKpfq2b2V5dDi277pGyQ6IoEbuAt1kBdmley+G23U=; b=WGkKhFFQy2Y6f137aM0EbuR6CIkW/gvoNfrFMMNwnedYMtJGtulKyG3U5pR5i3U7ec aAhfKtJQsx7eToZRvJW/2l+NtJKJHbVC5zBO7z5RGkjwKQocpOzhy9stTRpfP1a1mKud H0QRtulrQaqoW799qrymujsioX8msg0TUReipkh6M/6tjKWLv1RBq3I9sHwcZOAp+PMy x13mwbPOaxCnA+krR+KmL4eZjNx7gD/Zwrv0wtA0SF9h/okhIQaoxylTz7KGTg1QcRpL P5JnSUVtrcC0UVCvwSkFLKFVvx1A1y/NlhcndVdKnXAthjkb2feax6Y/runh0PIflGGA Rm2A== 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 u13-v6si1353643plq.246.2018.04.24.13.49.47; Tue, 24 Apr 2018 13:50:01 -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; 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 S1751233AbeDXUsm (ORCPT + 99 others); Tue, 24 Apr 2018 16:48:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:43428 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750766AbeDXUsk (ORCPT ); Tue, 24 Apr 2018 16:48:40 -0400 Received: from gandalf.local.home (cpe-66-24-56-78.stny.res.rr.com [66.24.56.78]) (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 CBDA4217BA; Tue, 24 Apr 2018 20:48:38 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CBDA4217BA 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 Date: Tue, 24 Apr 2018 16:48:37 -0400 From: Steven Rostedt To: Wei Wang Cc: gregkh@linuxfoundation.org, Wei Wang , Ingo Molnar , Andrew Morton , Kees Cook , Peter Zijlstra , Thomas Gleixner , Crt Mori , Alexei Starovoitov , Randy Dunlap , linux-kernel@vger.kernel.org, Joe Perches Subject: Re: [PATCH] do not call trace_printk on non-debug build Message-ID: <20180424164837.3f1bcd20@gandalf.local.home> In-Reply-To: <20180424164505.0a4d15f7@gandalf.local.home> References: <20180424180812.215900-1-wvw@google.com> <20180424145056.7c29ea18@gandalf.local.home> <20180424151416.397fbbde@gandalf.local.home> <20180424152607.71fbee34@gandalf.local.home> <20180424164505.0a4d15f7@gandalf.local.home> X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 24 Apr 2018 16:45:05 -0400 Steven Rostedt wrote: > On Tue, 24 Apr 2018 20:39:27 +0000 > Wei Wang wrote: > > > The config is not something new and it is controlling pr_debug and > > pr_devel, so might not be too annoying, IMHO. But I agree this is not a > > problem from us but from abusers. > > And is the reason I never use pr_debug() and pr_devel(). > Which reminds me, I need to replace pr_debug() to pr_info() for this line: pr_debug("syscall %s metadata not mapped, disabling ftrace event\n", In trace_syscalls.c (I didn't add that), as a different commit that changed syscall names for x86 caused all syscall tracepoints to disappear. And if this was pr_info() and not pr_debug() the one that made the change would have noticed his change had impact someplace else. -- Steve