From ac34ac9f5c7055d4789d2b272199ae5774ffd804 Mon Sep 17 00:00:00 2001 From: "Nakamura, Yuuichi" Date: Wed, 22 Jul 2020 22:21:42 +0900 Subject: [PATCH] Add g_funcnames declaration in syscall.h --- include/sys/syscall.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/include/sys/syscall.h b/include/sys/syscall.h index 0dc0fc90f1d..598a5e5fcde 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 ****************************************************************************/