Received: by 10.192.165.148 with SMTP id m20csp5141897imm; Tue, 24 Apr 2018 14:34:52 -0700 (PDT) X-Google-Smtp-Source: AIpwx487CxMonypaS8MM6QGosMREA/eibNgAl3mgNc53yoKb54l3QJvYHlMcG9y4lpPXY6tfqXBj X-Received: by 2002:a17:902:bd8e:: with SMTP id q14-v6mr27054258pls.322.1524605691992; Tue, 24 Apr 2018 14:34:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1524605691; cv=none; d=google.com; s=arc-20160816; b=y1CB98CECrSHBggINundFmmCL0vOLnGYtI26ZXumOr+822TTjP/cWlZateN4CbpAqb opDobwKZxQ0VQ3yvvVNziidL1uaD3AUNau/mq79y12/p/zvucLRKDfOoeIMp5ewWQhIW hfyDhZJS43i18sBskq/0Gm3WcpvTlmWq7dWa6uITRLRecFatpJKBg10BUDbu8i+XJwbr cSziP5ullwh/DUkuTOehTa2K7mpnyvTZFP9oW+GUAfvKdcvVg1USyf0Dd0XL4HKD8Wfw Zg8YMm7kR8CsD7jS5+H5lIMhiBlo42wmzhdVN9h5jI/jrAJP7xidWB7vJgWrN56Qve0t +11w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=9aXKerxFtPKCPc6DyAc0N0lubGRC4ftBrnjd1jSZn3E=; b=LHrkTxREHvVTs+hjz5Ad4uD3nZBbNojBmNRNzJk9SXp1TbK0RW90X3EI6/nweHSS2R K3OPk2XUOISEIZZrS82/TI4jQJawcGw/qStLKp0c+fHvAoohLSSK5O+YjAGynAUq545i XTL4To5qnhV0vw55ND6a6oinIgRS+Jjrv9j/EZZ58wrVdDivwufCvKOLavMv24D/yLKR ZQy+VWPZF52TfFbU+y9BU9Wxcz5qLfs2rqMs8nn6aGQDL/xa9gJBZS9VanqDYU772GUo OhvKhQ4Etrj1ekl+vReLxNeefK2m4H2bw3KMjnX9XLtP2/v+zK4WNb2+aB2SMOXOzJuh bZDQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ioCTuAB9; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2-v6si15737085pln.484.2018.04.24.14.34.27; Tue, 24 Apr 2018 14:34:51 -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=@google.com header.s=20161025 header.b=ioCTuAB9; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751061AbeDXVcj (ORCPT + 99 others); Tue, 24 Apr 2018 17:32:39 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:52866 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750756AbeDXVci (ORCPT ); Tue, 24 Apr 2018 17:32:38 -0400 Received: by mail-wm0-f66.google.com with SMTP id w195so3747556wmw.2 for ; Tue, 24 Apr 2018 14:32:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9aXKerxFtPKCPc6DyAc0N0lubGRC4ftBrnjd1jSZn3E=; b=ioCTuAB9x1KP2tQUnbTj/Jcwd5ZI0GXAxo4T6pQrDidfIziKaZUnAzCnyifEAFy5OU teT3FW5AG2020hw80ICMl1sfBypQJZbNBkCzaVdFa/My8Yhk57zdIiehDbDvBa3GYuue KDAtN1Mqg3HxjFvoGPrvbBjFrTaSCfvD8tTQ8FlAV9vbXc6IJBaLGNzPbp+O+cl2WVN6 HCikij+LW0XnfEnhSl1NTXLmWOnPlJW9QOEtuU1RIL2+M1S2vFMNB6nEaNxvsqPAf1jb Uhi9ODr6+XSDtR8RZdkXg+WgrBvFogLair7dzZKlAts9hpKZpQ3BAptkfz9IBZm/R3dl yX2Q== 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; bh=9aXKerxFtPKCPc6DyAc0N0lubGRC4ftBrnjd1jSZn3E=; b=eyP4G9KXA5fNGaoW8glWzxNX97KXDcgzC/dSN0Dht02HXVCPBU5b0RAFgH+sNXCWcp Wf9QdUKq6ZVIo6us9UpB6Ji18x8vEFvVw11CiTWlD2Mcl+TNfNJsfvIpnxwFmRr6qWoZ a5tJMmCATW8OKC7awCdE8FbQ89oMl3o46AqG1R8fPEYZNeB8GN9/EojF4U5U+BGvcJdy IjuHl34DTQgjuLUCs8hNb0ts6oUdkBOca8MLWWfYP72V/7s1hkam4w4jI2GdAzxhTx+V KKQPDP3tQA/dn7XjObecwOqAkY5zapriD72OR9LHhUYqFlgAT3TOwbTVeN/WoNGTO5c9 8Epg== X-Gm-Message-State: ALQs6tB68HQ89QELZRajQDu4+SrZ8DdtgN7Rt8EgjjvzKVNPtrXP9KMp V0y9WPtnW4jbfj49kzVNTcbNh161XxKBVjwMiFjhmg== X-Received: by 10.80.146.166 with SMTP id k35mr35466678eda.110.1524605556682; Tue, 24 Apr 2018 14:32:36 -0700 (PDT) MIME-Version: 1.0 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> <20180424164837.3f1bcd20@gandalf.local.home> In-Reply-To: <20180424164837.3f1bcd20@gandalf.local.home> From: Wei Wang Date: Tue, 24 Apr 2018 21:32:26 +0000 Message-ID: Subject: Re: [PATCH] do not call trace_printk on non-debug build To: Steven Rostedt 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I have seen case when LLVM appends postfix to most function names, causing func such as tracing_mark_write becomes tracing_mark_write.XXX which messed all post-processing. Also I think this is a typo? https://lkml.org/lkml/2018/4/24/1176 On Tue, Apr 24, 2018 at 1:48 PM Steven Rostedt wrote: > 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