Commit 1be2c35c authored by Junhao He's avatar Junhao He
Browse files

drivers: perf: Not enabled ARM64_BRBE by default

driver inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8EC9K


CVE: NA

--------------------------------

The BRBE feature depend on ARMV8 PMU hardware support for branch stack
sampling. Not enabled ARM64_BRBE by default.

Signed-off-by: default avatarJunhao He <hejunhao3@huawei.com>
parent 08988fd4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -6169,7 +6169,7 @@ CONFIG_QCOM_L3_PMU=y
CONFIG_THUNDERX2_PMU=m
CONFIG_XGENE_PMU=y
CONFIG_ARM_SPE_PMU=y
CONFIG_ARM64_BRBE=y
# CONFIG_ARM64_BRBE is not set
CONFIG_HISI_PMU=m
CONFIG_HISI_PCIE_PMU=m
CONFIG_HNS3_PMU=m
+0 −1
Original line number Diff line number Diff line
@@ -133,7 +133,6 @@ config ARM_SPE_PMU
config ARM64_BRBE
	bool "Enable support for Branch Record Buffer Extension (BRBE)"
	depends on PERF_EVENTS && ARM64 && ARM_PMU
	default y
	help
	  Enable perf support for Branch Record Buffer Extension (BRBE) which
	  records all branches taken in an execution path. This supports some