fix: relayd: unaligned access in trace_chunk_registry_ht_key_hash
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / obj-a.cpp
1 /*
2 * Copyright (C) 2024 Kienan Stewart <kstewart@efficios.com>
3 *
4 * SPDX-License-Identifer: LGPL-2.1-only
5 */
6
7 #include "obj-a.h"
8 #include "tp-a.h"
9 #include "tp.h"
10
11 Obj::Obj(const char *_msg) : msg(_msg)
12 {
13 tracepoint(tp, constructor_cplusplus, msg);
14 }
15
16 Obj::~Obj()
17 {
18 tracepoint(tp, destructor_cplusplus, msg);
19 }
20
21 Obja::Obja(const char *_msg) : msg(_msg)
22 {
23 tracepoint(tp_a, constructor_cplusplus_provider_static_archive, msg);
24 }
25
26 Obja::~Obja()
27 {
28 tracepoint(tp_a, destructor_cplusplus_provider_static_archive, msg);
29 }
This page took 0.029178 seconds and 4 git commands to generate.