Add g_funcnames declaration in syscall.h

This commit is contained in:
Nakamura, Yuuichi 2020-07-22 22:21:42 +09:00 committed by Xiang Xiao
parent 02718f0827
commit ac34ac9f5c

View File

@ -95,6 +95,16 @@ EXTERN const uintptr_t g_stublookup[SYS_nsyscalls];
#endif
#ifdef CONFIG_SCHED_INSTRUMENTATION_SYSCALL
/* Given the system call number, the corresponding entry in this table
* provides the name of the function.
*/
EXTERN const char *g_funcnames[SYS_nsyscalls];
#endif
/****************************************************************************
* Public Function Prototypes
****************************************************************************/