tests: test_ust_constructor: Split test_ust_constructor binary
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / obj-a.cpp
CommitLineData
09a872ef
KS
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
11Obj::Obj(const char *_msg) : msg(_msg)
12{
13 tracepoint(tp, constructor_cplusplus, msg);
14}
15
16Obj::~Obj()
17{
18 tracepoint(tp, destructor_cplusplus, msg);
19}
20
21Obja::Obja(const char *_msg) : msg(_msg)
22{
23 tracepoint(tp_a, constructor_cplusplus_provider_static_archive, msg);
24}
25
26Obja::~Obja()
27{
28 tracepoint(tp_a, destructor_cplusplus_provider_static_archive, msg);
29}
This page took 0.024419 seconds and 4 git commands to generate.