| 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 | } |