2 * SPDX-License-Identifier: LGPL-2.1-or-later
4 * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 #define LTTNG_UST_TRACEPOINT_HIDDEN_DEFINITION
13 #define LTTNG_UST_TRACEPOINT_PROVIDER_HIDDEN_DEFINITION
15 #define LTTNG_UST_TRACEPOINT_DEFINE
16 #define LTTNG_UST_TRACEPOINT_CREATE_PROBES
17 #define LTTNG_UST_TP_IP_PARAM func_addr
18 #include "lttng-ust-cyg-profile-fast.h"
20 void __cyg_profile_func_enter(void *this_fn
, void *call_site
)
21 __attribute__((no_instrument_function
));
23 void __cyg_profile_func_exit(void *this_fn
, void *call_site
)
24 __attribute__((no_instrument_function
));
26 void __cyg_profile_func_enter(void *this_fn
, void *call_site
__attribute__((unused
)))
28 lttng_ust_tracepoint(lttng_ust_cyg_profile_fast
, func_entry
, this_fn
);
31 void __cyg_profile_func_exit(void *this_fn
, void *call_site
__attribute__((unused
)))
33 lttng_ust_tracepoint(lttng_ust_cyg_profile_fast
, func_exit
, this_fn
);