diff options
| author | Namhyung Kim <[email protected]> | 2014-08-12 17:16:05 +0900 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <[email protected]> | 2014-08-13 17:28:07 -0300 |
| commit | 701937bd59cc94b6913086feb62f05ae565ff2de (patch) | |
| tree | e4697966dfad8a3ea43f060e03469d0905d95869 /tools/perf/scripts/python/bin | |
| parent | edd114e213751c3274891f692be66eb65771f278 (diff) | |
perf top: Fix -z option behavior
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.
Reported-by: Stephane Eranian <[email protected]>
Tested-by: Stephane Eranian <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Cc: David Ahern <[email protected]>
Cc: Ingo Molnar <[email protected]>
Cc: Jiri Olsa <[email protected]>
Cc: Namhyung Kim <[email protected]>
Cc: Paul Mackerras <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Stephane Eranian <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions