Enable support for branch stack sampling using FEAT_BRBE

modulename: arm_brbe.ko

configname: CONFIG_ARM64_BRBE

Linux Kernel Configuration
└─>Device Drivers
└─>Performance monitor support
└─>Enable support for branch stack sampling using FEAT_BRBE
In linux kernel since version 6.17 (release Date: 2025-09-28)  
Enable perf support for Branch Record Buffer Extension (BRBE) which
records all branches taken in an execution path. This supports some
branch types and privilege based filtering. It captures additional
relevant information such as cycle count, misprediction and branch
type, branch privilege level etc.

source code:
depends
CONFIG_ARM64
CONFIG_ARM_PMUV3
CONFIG_PERF_EVENTS