trace-systemview
3.1.0
trace-systemview
bsp
trace
inc
LLTRACE_sysview_configuration.h
Go to the documentation of this file.
1
/*
2
* C
3
*
4
* Copyright 2018-2022 MicroEJ Corp. All rights reserved.
5
* Use of this source code is governed by a BSD-style license that can be found with this software.
6
*/
7
16
#ifndef LLTRACE_SYSVIEW_CONFIG_H
17
#define LLTRACE_SYSVIEW_CONFIG_H
18
19
#ifdef __cplusplus
20
extern
"C"
{
21
#endif
22
23
/* Includes ------------------------------------------------------------------*/
24
25
/* Defines -------------------------------------------------------------------*/
26
27
/*
28
* Define the maximum size in characters of MicroEJ threads (extra characters will not be displayed).
29
*/
30
#define MICROEJ_TRACE_MAX_THREAD_NAME_LENGTH (32)
31
32
/*
33
* Define the maximum number of MicroEJ threads infos structures.
34
* If there are more threads, only the address will be displayed in SystemView.
35
*/
36
#define MICROEJ_TRACE_MAX_NB_THREADS (16)
37
38
/*
39
* Specify if MicroEJ trace is used over RTOS traces or not.
40
*/
41
#define MICROEJ_TRACE_OVER_RTOS 1
42
43
/*
44
* Enable/Disable MicroEJ Object Allocations events.
45
*/
46
#define MICROEJ_TRACE_ENABLE_ALLOCATIONS 0
47
48
/*
49
* Enable/Disable MicroEJ Exception events.
50
*/
51
#define MICROEJ_TRACE_ENABLE_EXCEPTIONS 1
52
53
/*
54
* Define the offset for MicroEJ trace events. This offset must not overlap with RTOS specific events if any.
55
*/
56
#define MICROEJ_TRACE_API_ID_OFFSET (500u)
57
58
/*
59
* Define the maximum number of SYSVIEW modules for MicroEJ events.
60
*/
61
#define MICROEJ_TRACE_MAX_NB_MODULES (8)
62
63
/*
64
* Define the maximum length of a module description.
65
*/
66
#define MICROEJ_TRACE_MAX_MODULE_DESCRIPTION_LENGTH (16)
67
68
/*
69
* Define the prefix to add to the module description
70
*/
71
#define MICROEJ_TRACE_MODULE_DESCRIPTION_PREFIX "M="
72
73
/*
74
* Enable/Disable MicroEJ trace wait until SystemView host application is connected.
75
*/
76
#define MICROEJ_TRACE_WAIT_FOR_SYSVIEW_CONNECTION 0
77
78
#ifdef __cplusplus
79
}
80
#endif
81
#endif //LLMJVM_MONITOR_SYSVIEW_CONFIG_H
Generated by
1.8.12