arch/qemu: up_perf_init depends on CONFIG_ARCH_PERF_EVENTS

Signed-off-by: wangmingrong1 <wangmingrong1@xiaomi.com>
Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
wangmingrong1
2024-08-15 12:04:47 +08:00
committed by Xiang Xiao
parent 0ed47c5f7e
commit 3e66cc30d0
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -50,9 +50,11 @@
void arm_boot(void)
{
#ifdef CONFIG_ARCH_PERF_EVENTS
/* Perf init */
up_perf_init(0);
#endif
/* Set the page table for section */
+2
View File
@@ -60,9 +60,11 @@ static char g_syslog_rpmsg_buf[4096];
void arm_boot(void)
{
#ifdef CONFIG_ARCH_PERF_EVENTS
/* Perf init */
up_perf_init(0);
#endif
/* Set the page table for section */