mirror of
https://github.com/apache/nuttx.git
synced 2026-05-27 03:05:40 +08:00
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:
committed by
Xiang Xiao
parent
0ed47c5f7e
commit
3e66cc30d0
@@ -50,9 +50,11 @@
|
|||||||
|
|
||||||
void arm_boot(void)
|
void arm_boot(void)
|
||||||
{
|
{
|
||||||
|
#ifdef CONFIG_ARCH_PERF_EVENTS
|
||||||
/* Perf init */
|
/* Perf init */
|
||||||
|
|
||||||
up_perf_init(0);
|
up_perf_init(0);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Set the page table for section */
|
/* Set the page table for section */
|
||||||
|
|
||||||
|
|||||||
@@ -60,9 +60,11 @@ static char g_syslog_rpmsg_buf[4096];
|
|||||||
|
|
||||||
void arm_boot(void)
|
void arm_boot(void)
|
||||||
{
|
{
|
||||||
|
#ifdef CONFIG_ARCH_PERF_EVENTS
|
||||||
/* Perf init */
|
/* Perf init */
|
||||||
|
|
||||||
up_perf_init(0);
|
up_perf_init(0);
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Set the page table for section */
|
/* Set the page table for section */
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user