tracing: don't include kernel_structs.h from tracing_sysview.h
This header is private data and we shouldn't (and aren't) using it in the tracing_sysview.h. SystemView tracing works fine without it, as tested with the philosophers sample. This commit fixes the build when bluetooth SMP and SystemView tracing are used, because the kernel_structs.h inclusion ends up pulling in kernel_internal.h, which declares smp_init(), whose declaration conflicts with another internal routine by the same name in subsys/bluetooth/host/smp.c. Signed-off-by: Marti Bolivar <marti@foundries.io>
This commit is contained in:
parent
4402c4b057
commit
7f3e07ee11
1 changed files with 0 additions and 1 deletions
|
|
@ -6,7 +6,6 @@
|
|||
#ifndef _TRACE_SYSVIEW_H
|
||||
#define _TRACE_SYSVIEW_H
|
||||
#include <kernel.h>
|
||||
#include <kernel_structs.h>
|
||||
#include <init.h>
|
||||
|
||||
#include <systemview/SEGGER_SYSVIEW.h>
|
||||
|
|
|
|||
Loading…
Reference in a new issue