default or selected kernelversion does not have config value CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS.
Result is shown for kernelversion 6.6.78

CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS (not configurable)

configname: CONFIG_HAVE_FTRACE_REGS_HAVING_PT_REGS

Linux Kernel Configuration
└─>Kernel hacking
└─>HAVE_FTRACE_REGS_HAVING_PT_REGS
In linux kernel since version 6.6.78 (release Date: 2025-02-17)  
If this is set, ftrace_regs has pt_regs, thus it can convert to
pt_regs without allocating memory.