tests: test_ust_constructor: Split test_ust_constructor binary
[lttng-tools.git] / tests / utils / testapp / gen-ust-events-constructor / obj.cpp
CommitLineData
a4cc1b1f
MD
1/*
2 * Copyright (C) 2011 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
3 *
4 * SPDX-License-Identifier: MIT
5 *
6 */
7
8#include "obj.h"
a4cc1b1f
MD
9#include "tp-so.h"
10#include "tp.h"
11
12Obj::Obj(const char *_msg) : msg(_msg)
13{
14 tracepoint(tp, constructor_cplusplus, msg);
15}
16
17Obj::~Obj()
18{
19 tracepoint(tp, destructor_cplusplus, msg);
20}
21
22Objso::Objso(const char *_msg) : msg(_msg)
23{
24 tracepoint(tp_so, constructor_cplusplus_provider_shared_library, msg);
25}
26
27Objso::~Objso()
28{
29 tracepoint(tp_so, destructor_cplusplus_provider_shared_library, msg);
30}
This page took 0.028834 seconds and 4 git commands to generate.