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

Josh Poimboeuf
2025-01-22T21:37:24Z

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