47 #ifndef CSPROF_SYNCHRONOUS_H 48 #define CSPROF_SYNCHRONOUS_H 54 #if defined(OSF) && defined(__DECC) 57 hpcrun_fetch_stack_pointer(
void **stack_pointer_loc)
59 asm(
"stq sp, 0(v0)", stack_pointer_loc);
64 hpcrun_take_synchronous_sample(
unsigned int sample_count)
67 hpcrun_state_t *
state = hpcrun_get_state();
69 hpcrun_undo_swizzled_data(state,
NULL);
70 hpcrun_fetch_stack_pointer(&ra_loc);
71 hpcrun_take_sample(sample_count);
72 hpcrun_swizzle_location(state, ra_loc);