it runs
[lttv.git] / usertrace-fast / ltt-instrument-functions.c
1 /****************************************************************************
2 * ltt-instrument-functions.c
3 *
4 * Mathieu Desnoyers
5 * March 2006
6 */
7
8 #define LTT_TRACE
9 #define LTT_TRACE_FAST
10 #include <ltt/ltt-usertrace-fast.h>
11 #include <ltt/ltt-facility-user_generic.h>
12
13 void __attribute__((no_instrument_function)) __cyg_profile_func_enter (
14 void *this_fn,
15 void *call_site)
16 {
17 /* don't care about the return value */
18 trace_user_generic_function_entry(this_fn, call_site);
19 }
20
21 void __attribute__((no_instrument_function)) __cyg_profile_func_exit (
22 void *this_fn,
23 void *call_site)
24 {
25 /* don't care about the return value */
26 trace_user_generic_function_exit(this_fn, call_site);
27 }
28
This page took 0.031268 seconds and 5 git commands to generate.