Vivoe Lite 0.5.0
Lightweight GVA like HMI for military displays.
Loading...
Searching...
No Matches
trace.h
Go to the documentation of this file.
1//
2// Copyright (c) 2023, DefenceX PTY LTD
3//
4// This file is part of the VivoeX project developed by DefenceX.
5//
6// Licensed under the Attribution-NonCommercial 4.0 International (CC BY-NC 4.0)
7// License. See the LICENSE file in the project root for full license details.
8//
13
14#ifndef HMICORE_TRACE_H_
15#define HMICORE_TRACE_H_
16
17#undef TRACEPOINT_PROVIDER
19#define TRACEPOINT_PROVIDER vivoe_lite
20
21#undef TRACEPOINT_INCLUDE
23#define TRACEPOINT_INCLUDE "src/trace.h"
24
25#if !defined(_TRACE_H) || defined(TRACEPOINT_HEADER_MULTI_READ)
27#define _TRACE_H
28
29#include <lttng/tracepoint.h>
30
32TRACEPOINT_EVENT(vivoe_lite, main, TP_ARGS(int, my_integer_arg, char*, my_string_arg),
33 TP_FIELDS(ctf_string(my_string_field, my_string_arg)
34 ctf_integer(int, my_integer_field, my_integer_arg)))
36TRACEPOINT_EVENT(vivoe_lite, app_callback, TP_ARGS(int, counter),
37 TP_FIELDS(ctf_integer(int, my_integer_field, counter)))
38
39#endif // _TRACE_H
40
41#include <lttng/tracepoint-event.h>
42
43#endif // HMICORE_TRACE_H_
TRACEPOINT_EVENT(vivoe_lite, main, TP_ARGS(int, my_integer_arg, char *, my_string_arg), ctf_integer(int, my_integer_field, my_integer_arg))) TRACEPOINT_EVENT(vivoe_lite
Tracepoint for the main function.