Done with sed and God Lines. Only done for C-like code for now. Change-Id: Id3a0b63272ebda3dad13803700bcff36d36f4815 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/40054 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
23 lines
421 B
C
23 lines
421 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
/* This file is part of the coreboot project. */
|
|
|
|
#include <types.h>
|
|
#include <console/console.h>
|
|
#include <trace.h>
|
|
|
|
int volatile trace_dis = 0;
|
|
|
|
void __cyg_profile_func_enter(void *func, void *callsite)
|
|
{
|
|
|
|
if (trace_dis)
|
|
return;
|
|
|
|
DISABLE_TRACE
|
|
printk(BIOS_INFO, "~%p(%p)\n", func, callsite);
|
|
ENABLE_TRACE
|
|
}
|
|
|
|
void __cyg_profile_func_exit(void *func, void *callsite)
|
|
{
|
|
}
|