[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210624090500.3214d7d2@oasis.local.home>
Date: Thu, 24 Jun 2021 09:05:00 -0400
From: Steven Rostedt <rostedt@...dmis.org>
To: Peter Zijlstra <peterz@...radead.org>
Cc: jpoimboe@...hat.com, tglx@...utronix.de,
linux-kernel@...r.kernel.org, joro@...tes.org,
boris.ostrovsky@...cle.com, jgross@...e.com, x86@...nel.org,
mbenes@...e.com, dvyukov@...gle.com, elver@...gle.com
Subject: Re: [PATCH v2 00/24] objtool/x86: noinstr vs PARAVIRT
On Thu, 24 Jun 2021 11:40:59 +0200
Peter Zijlstra <peterz@...radead.org> wrote:
> Steve, can I please delete TRACE_BRANCH_PROFILING and PROFILE_ALL_BRANCHES already?
The TRACE_BRANCH_PROFILING, I never used, so I'm happy to delete it,
but I still use the PROFILE_ALL_BRANCHES.
But I'm curious, what's the issue with the PROFILE_ALL_BRANCHES?
You can make it ignore files, by simply adding a:
#define DISABLE_BRANCH_PROFILING
at the top of the file (before any of the includes).
So if your issue is that it makes it hard for some code, simply add
that to the top of the file, and it should just work.
-- Steve
Powered by blists - more mailing lists