Re: [RFC/PATCH 1/2] perf top: Fix -z option behavior

David Ahern
2014-08-12T19:01:40Z

On 8/12/14, 2:16 AM, Namhyung Kim wrote:
> The current -z option does almost nothing. It doesn't zero the
> existing samples so that we can see profiles of exited process after
> last refresh. It seems it only affects annotation.
>
> This patch clears existing entries before processing if -z option is
> given. For this original decaying logic also moved before processing.

This option was broken somewhere recently. I am on vacation for another
week, so I can't do a git bisect myself but I recall it worked a year or
so ago. Try v3.4 as a start point.

David