diff --git a/src/rvprof_core.c b/src/rvprof_core.c index 1f05cb5..a4602ae 100644 --- a/src/rvprof_core.c +++ b/src/rvprof_core.c @@ -107,7 +107,7 @@ void rvprof_region_begin(const char* name){ region->child_time = 0; region->child_cycles = 0; region->func_addr = NULL; - region->stack_id = rvprof_stats_get_or_create_stack_id; + region->stack_id = rvprof_stats_get_or_create_stack_id(); // look up or create ID for region const char* caller;