diff --git a/include/sys/syscall.h b/include/sys/syscall.h index 0dc0fc90f1..598a5e5fcd 100644 --- a/include/sys/syscall.h +++ b/include/sys/syscall.h @@ -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 ****************************************************************************/