mirror of
https://xff.cz/git/u-boot/
synced 2025-11-01 19:05:51 +01:00
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>
This commit is contained in:
@@ -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)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user