8b30e7bc |
1 | /**************************************************************************** |
2 | * ltt-instrument-functions.c |
3 | * |
4 | * Mathieu Desnoyers |
5 | * March 2006 |
6 | */ |
7 | |
8a9103df |
8 | #define inline inline __attribute__((always_inline)) |
9 | |
8b30e7bc |
10 | #define LTT_TRACE |
11 | #define LTT_TRACE_FAST |
b5d612cb |
12 | #include <ltt/ltt-usertrace-fast.h> |
8b30e7bc |
13 | #include <ltt/ltt-facility-user_generic.h> |
14 | |
15 | void __attribute__((no_instrument_function)) __cyg_profile_func_enter ( |
16 | void *this_fn, |
17 | void *call_site) |
18 | { |
19 | /* don't care about the return value */ |
20 | trace_user_generic_function_entry(this_fn, call_site); |
21 | } |
22 | |
23 | void __attribute__((no_instrument_function)) __cyg_profile_func_exit ( |
24 | void *this_fn, |
25 | void *call_site) |
26 | { |
27 | /* don't care about the return value */ |
28 | trace_user_generic_function_exit(this_fn, call_site); |
29 | } |
30 | |