syscall/names: export the syscall name in STUB module

Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2022-03-15 00:05:41 +08:00
committed by Petro Karashchenko
parent d398ffb930
commit ea42981cc6
4 changed files with 26 additions and 6 deletions
-4
View File
@@ -89,16 +89,12 @@ 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
****************************************************************************/