Listing 4
1: #include <stdio.h> 2: 3: void __cyg_profile_func_enter( void *, void * ) 4: __attribute__ ((no_instrument_function)); 5: 6: void __cyg_profile_func_enter(void *this, void *callsite) 7: { 8: printf("%p\n", (int)this); 9: } 10: 11: 12: void func_c( void ) 13: { 14: return; 15: } 16: 17: void func_b( void ) 18: { 19: func_c(); 20: 21: return; 22: } 23: 24: void func_a( void ) 25: { 26: func_b(); 27: 28: return; 29: } 30: 31: 32: int main() 33: { 34: func_a(); 35: func_c(); 36: }