diff --git a/stacktrace.cc b/stacktrace.cc index afebb37..57a71d5 100644 --- a/stacktrace.cc +++ b/stacktrace.cc @@ -286,7 +286,7 @@ static void print_dump_stackmap(std::vector= opts.top) - continue; + break; const stack_trace_t& stack_trace = sorted_stack[i].first; std::string age = get_delta_time_unit(current - info.birth_time); @@ -315,7 +315,7 @@ static void print_dump_stackmap_flamegraph(std::vector= opts.top) - continue; + break; const stack_trace_t& stack_trace = sorted_stack[i].first;