[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAGXk5yo0FoBYdtbsg9b+ZqTuNu5wKNQokzHbu=33YF93ombgng@mail.gmail.com>
Date: Tue, 24 Apr 2018 21:32:26 +0000
From: Wei Wang <wvw@...gle.com>
To: Steven Rostedt <rostedt@...dmis.org>
Cc: gregkh@...uxfoundation.org, Wei Wang <wei.vince.wang@...il.com>,
Ingo Molnar <mingo@...hat.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Kees Cook <keescook@...omium.org>,
Peter Zijlstra <peterz@...radead.org>,
Thomas Gleixner <tglx@...utronix.de>,
Crt Mori <cmo@...exis.com>,
Alexei Starovoitov <ast@...nel.org>,
Randy Dunlap <rdunlap@...radead.org>,
linux-kernel@...r.kernel.org, Joe Perches <joe@...ches.com>
Subject: Re: [PATCH] do not call trace_printk on non-debug build
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 <rostedt@...dmis.org> wrote:
> On Tue, 24 Apr 2018 16:45:05 -0400
> Steven Rostedt <rostedt@...dmis.org> wrote:
> > On Tue, 24 Apr 2018 20:39:27 +0000
> > Wei Wang <wvw@...gle.com> 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
Powered by blists - more mailing lists