diff options
author | Simon Glass <sjg@chromium.org> | 2022-12-21 16:08:15 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2023-01-18 11:49:12 -0700 |
commit | 33c60a38bb95c9954704857fe5edb29b749b9b18 (patch) | |
tree | 9cd3850586f99633e33f6f14f6488130ad0a04ee /lib/efi_loader/efi_freestanding.c | |
parent | 5b958dea5c678dbdb2aeb6ac3c0c8cc8dfea065c (diff) |
trace: Use notrace for short
The attribute syntax is quite verbose. Use the macro provided for this
purpose.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/efi_loader/efi_freestanding.c')
-rw-r--r-- | lib/efi_loader/efi_freestanding.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/efi_loader/efi_freestanding.c b/lib/efi_loader/efi_freestanding.c index c85df026f0d..4b65fc64dd0 100644 --- a/lib/efi_loader/efi_freestanding.c +++ b/lib/efi_loader/efi_freestanding.c @@ -100,7 +100,7 @@ void *memset(void *s, int c, size_t n) * func_ptr: Pointer to function being entered * caller: Pointer to function which called this function */ -void __attribute__((no_instrument_function)) +void notrace __cyg_profile_func_enter(void *func_ptr, void *caller) { } @@ -116,7 +116,7 @@ __cyg_profile_func_enter(void *func_ptr, void *caller) * func_ptr: Pointer to function being entered * caller: Pointer to function which called this function */ -void __attribute__((no_instrument_function)) +void notrace __cyg_profile_func_exit(void *func_ptr, void *caller) { } |