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

From: David Ahern
Date: Tue Aug 12 2014 - 15:01:42 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/