From 0513b242d465743c05c7c8b394d7f6247271e4f3 Mon Sep 17 00:00:00 2001 From: Tom Burdick Date: Wed, 15 Dec 2021 10:25:29 -0600 Subject: [PATCH] docs: Adds syscall tracing to tracing docs Tracing guide in the docs was missing references to the added tracing syscall macro hooks. This adds those. Signed-off-by: Tom Burdick --- doc/guides/debug_tools/tracing/index.rst | 5 +++++ include/tracing/tracing_syscall.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/doc/guides/debug_tools/tracing/index.rst b/doc/guides/debug_tools/tracing/index.rst index 18f63db2763..fd0686033a3 100644 --- a/doc/guides/debug_tools/tracing/index.rst +++ b/doc/guides/debug_tools/tracing/index.rst @@ -471,3 +471,8 @@ Object tracking =============== .. doxygengroup:: subsys_tracing_object_tracking + +Syscalls +======== + +.. doxygengroup:: subsys_tracing_apis_syscall diff --git a/include/tracing/tracing_syscall.h b/include/tracing/tracing_syscall.h index 36625ad03e6..5782246e1e1 100644 --- a/include/tracing/tracing_syscall.h +++ b/include/tracing/tracing_syscall.h @@ -32,8 +32,8 @@ * @brief Trace syscall exit * @param id Syscall ID (as defined in the generated syscall_list.h) * @param name Syscall name as a token (ex: k_thread_create) - * @param ... Other parameters passed to the syscall, if the syscall has a return, the return value - * is the last parameter in the list + * @param ... Other parameters passed to the syscall, if the syscall has a + * return, the return value is the last parameter in the list */ #define sys_port_trace_syscall_exit(id, name, ...)