2020-04-02 23:48:34 +02:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0-only */
|
2011-09-02 23:23:41 +02:00
|
|
|
|
|
|
|
#include <types.h>
|
|
|
|
#include <console/console.h>
|
|
|
|
#include <trace.h>
|
|
|
|
|
|
|
|
int volatile trace_dis = 0;
|
|
|
|
|
2016-08-01 21:20:40 +02:00
|
|
|
void __cyg_profile_func_enter(void *func, void *callsite)
|
2011-09-02 23:23:41 +02:00
|
|
|
{
|
|
|
|
|
|
|
|
if (trace_dis)
|
|
|
|
return;
|
|
|
|
|
|
|
|
DISABLE_TRACE
|
2019-12-09 22:03:29 +01:00
|
|
|
printk(BIOS_INFO, "~%p(%p)\n", func, callsite);
|
2011-09-02 23:23:41 +02:00
|
|
|
ENABLE_TRACE
|
|
|
|
}
|
|
|
|
|
2016-08-01 21:20:40 +02:00
|
|
|
void __cyg_profile_func_exit(void *func, void *callsite)
|
2011-09-02 23:23:41 +02:00
|
|
|
{
|
|
|
|
}
|