18 lines
594 B
C
18 lines
594 B
C
|
#pragma once
|
||
|
|
||
|
#ifdef __GNUC__
|
||
|
#define LOG_UPCALL_ENTRY(task) \
|
||
|
LOG(task, upcall, \
|
||
|
"> UPCALL %s - task: %s 0x%" PRIxPTR \
|
||
|
" retpc: x%" PRIxPTR, \
|
||
|
__FUNCTION__, \
|
||
|
(task)->name, (task), \
|
||
|
__builtin_return_address(0));
|
||
|
#else
|
||
|
#define LOG_UPCALL_ENTRY(task) \
|
||
|
LOG(task, upcall, "> UPCALL task: %s @x%" PRIxPTR, \
|
||
|
(task)->name, (task));
|
||
|
#endif
|
||
|
|
||
|
|