tracing: rename CONFIG_DEBUG_TRACING_KERNEL_OBJECTS
Use a short name for this option CONFIG_OBJECT_TRACING. Change-Id: Id27de7ef9ca299492b6b7d2324d9f5bcf8059a31 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
c7f73140f6
commit
2f203c2f92
15 changed files with 66 additions and 59 deletions
|
@ -22,7 +22,7 @@
|
|||
#ifndef _OBJECT_TRACING_H_
|
||||
#define _OBJECT_TRACING_H_
|
||||
|
||||
#ifdef CONFIG_DEBUG_TRACING_KERNEL_OBJECTS
|
||||
#ifdef CONFIG_OBJECT_TRACING
|
||||
|
||||
#include <kernel.h>
|
||||
extern struct k_timer *_trace_list_k_timer;
|
||||
|
@ -66,7 +66,7 @@ extern struct ring_buf *_trace_list_sys_ring_buf;
|
|||
*/
|
||||
#define SYS_TRACING_NEXT(type, name, obj) (((type *)obj)->__next)
|
||||
|
||||
#endif /*CONFIG_DEBUG_TRACING_KERNEL_OBJECTS*/
|
||||
#endif /*CONFIG_OBJECT_TRACING*/
|
||||
|
||||
#ifdef CONFIG_THREAD_MONITOR
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
#ifndef _OBJECT_TRACING_COMMON_H_
|
||||
#define _OBJECT_TRACING_COMMON_H_
|
||||
|
||||
#ifndef CONFIG_DEBUG_TRACING_KERNEL_OBJECTS
|
||||
#ifndef CONFIG_OBJECT_TRACING
|
||||
|
||||
#define SYS_TRACING_OBJ_INIT(name, obj) do { } while ((0))
|
||||
#define SYS_TRACING_OBJ_INIT_DLL(name, obj) do { } while ((0))
|
||||
|
@ -111,5 +111,5 @@ struct ring_buf;
|
|||
|
||||
struct ring_buf *_trace_list_sys_ring_buf;
|
||||
|
||||
#endif /*CONFIG_DEBUG_TRACING_KERNEL_OBJECTS*/
|
||||
#endif /*CONFIG_OBJECT_TRACING*/
|
||||
#endif /*_OBJECT_TRACING_COMMON_H_*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue