2 * SPDX-License-Identifier: LGPL-2.1-or-later
4 * Copyright (C) 2011-2013 Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
12 #define TRACEPOINT_DEFINE
13 #define TRACEPOINT_CREATE_PROBES
14 #define TP_IP_PARAM func_addr
15 #include "lttng-ust-cyg-profile-fast.h"
17 void __cyg_profile_func_enter(void *this_fn
, void *call_site
)
18 __attribute__((no_instrument_function
));
20 void __cyg_profile_func_exit(void *this_fn
, void *call_site
)
21 __attribute__((no_instrument_function
));
23 void __cyg_profile_func_enter(void *this_fn
, void *call_site
)
25 tracepoint(lttng_ust_cyg_profile_fast
, func_entry
, this_fn
);
28 void __cyg_profile_func_exit(void *this_fn
, void *call_site
)
30 tracepoint(lttng_ust_cyg_profile_fast
, func_exit
, this_fn
);