Re: [PATCH v2] x86-64: Add --enable-x86-64-mfentry

2025-07-14 Thread Uros Bizjak
On Mon, Jul 14, 2025 at 1:16 PM Uros Bizjak wrote: > > On Sun, Jul 13, 2025 at 12:16 AM Sam James wrote: > > > > "H.J. Lu" writes: > > > > > On Sat, Jul 12, 2025 at 6:58 AM Siddhesh Poyarekar > > > wrote: > > >> > > >> On 2025-07-11 15:28, Uros Bizjak wrote: > > >> >> Why not just switch over

Re: [PATCH v2] x86-64: Add --enable-x86-64-mfentry

2025-07-14 Thread Uros Bizjak
On Sun, Jul 13, 2025 at 12:16 AM Sam James wrote: > > "H.J. Lu" writes: > > > On Sat, Jul 12, 2025 at 6:58 AM Siddhesh Poyarekar > > wrote: > >> > >> On 2025-07-11 15:28, Uros Bizjak wrote: > >> >> Why not just switch over unconditionally? __fentry__ seems like a > >> >> better alternative to

Re: [PATCH v2] x86-64: Add --enable-x86-64-mfentry

2025-07-12 Thread Sam James
"H.J. Lu" writes: > On Sat, Jul 12, 2025 at 6:58 AM Siddhesh Poyarekar > wrote: >> >> On 2025-07-11 15:28, Uros Bizjak wrote: >> >> Why not just switch over unconditionally? __fentry__ seems like a >> >> better alternative to mcount overall and it has been around long enough >> >> that even ol

[PATCH v2] x86-64: Add --enable-x86-64-mfentry

2025-07-12 Thread H.J. Lu
effective_target_fentry): New. -- H.J. From 5d2e29e5c06f48ab56e24343ebfaebf1c5f2837f Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Wed, 2 Jul 2025 08:58:23 +0800 Subject: [PATCH v2] x86-64: Add --enable-x86-64-mfentry When profiling is enabled with shrink wrapping, the mcount cal