[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CACYkzJ5AVFFnD9fQmjFNrkgxN2qR_k1TshoxhNkku4N9hta1wg@mail.gmail.com>
Date: Wed, 13 Oct 2021 18:33:05 +0200
From: KP Singh <kpsingh@...nel.org>
To: Song Liu <songliubraving@...com>
Cc: Peter Zijlstra <peterz@...radead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Kernel Team <Kernel-team@...com>,
"acme@...nel.org" <acme@...nel.org>,
"mingo@...hat.com" <mingo@...hat.com>,
Steven Rostedt <rostedt@...dmis.org>,
Andrii Nakryiko <andrii@...nel.org>
Subject: Re: [PATCH] perf/core: allow ftrace for functions in kernel/event/core.c
On Wed, Oct 13, 2021 at 5:47 PM Song Liu <songliubraving@...com> wrote:
>
>
>
> > On Oct 12, 2021, at 5:42 AM, Peter Zijlstra <peterz@...radead.org> wrote:
> >
> > On Wed, Oct 06, 2021 at 02:07:32PM -0700, Song Liu wrote:
> >> It is useful to trace functions in kernel/event/core.c. Allow ftrace for
> >> them by removing $(CC_FLAGS_FTRACE) from Makefile.
> >>
> >> ---
> >> We had some discussions about this last year [1]. Seems that enabling
> >> ftrace in kernel/events won't really cause fatal recursion in the tests.
> >> Shall we give it another try?
> >
> > I suppose we can give it a go..
>
> Yes, please. :-) Shall we ship it with 5.16?
This would be super useful for us, perf_event_* functions are very nicely placed
for tracing events like mmap.
>
> Thanks,
> Song
>
>
Powered by blists - more mailing lists