Em Thu, Jun 01, 2017 at 11:00:21PM +0200, Milian Wolff escreveu:
> With this patch applied, the libdw unwinder will produce the same
> output as the libunwind unwinder.

> +++ b/tools/perf/util/unwind-libdw.c
> @@ -224,7 +224,7 @@ int unwind__get_entries(unwind_entry_cb_t cb, void *arg,
>  
>       err = dwfl_getthread_frames(ui->dwfl, thread->tid, frame_callback, ui);
>  
> -     if (err && !ui->max_stack)
> +     if (err && ui->max_stack != max_stack)
>               err = 0;

Simple enough, thanks a lot, applied!

- Arnaldo

Reply via email to