Re: [PATCH v4 14/39] perf/x86: Rename get_segment_base() and make it global

From: Josh Poimboeuf
Date: Wed Jan 22 2025 - 16:37:32 EST


On Wed, Jan 22, 2025 at 01:51:54PM +0100, Peter Zijlstra wrote:
> On Tue, Jan 21, 2025 at 06:31:06PM -0800, Josh Poimboeuf wrote:
> > get_segment_base() will be used by the unwind_user code, so make it
> > global and rename it so it doesn't conflict with a KVM function of the
> > same name.
>
> Should it not also get moved out of the perf code in this case?

True, I'll try to find it a better home.

--
Josh