mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 09:10:17 +00: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:
parent
0ed47c5f7e
commit
3e66cc30d0
2 changed files with 4 additions and 0 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue