new ltt-usertrace
[lttv.git] / ltt-usertrace / ltt-instrument-functions.c
1 /****************************************************************************
2 * ltt-instrument-functions.c
3 *
4 * Mathieu Desnoyers
5 * March 2006
6 */
7
8 #define inline inline __attribute__((always_inline))
9
10 #define LTT_TRACE
11 #define LTT_TRACE_FAST
12 #include <ltt/ltt-usertrace-fast.h>
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
This page took 0.031094 seconds and 4 git commands to generate.