perf tools: Show progress on histogram collapsing
It can take quite amount of time so add progress bar UI to inform user. Signed-off-by: Namhyung Kim <namhyung@kernel.org> Cc: Frederic Weisbecker <fweisbec@gmail.com> Cc: Ingo Molnar <mingo@kernel.org> Cc: Jiri Olsa <jolsa@redhat.com> Cc: Linus Torvalds <torvalds@linux-foundation.org> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1381468543-25334-4-git-send-email-namhyung@kernel.org [ perf_progress -> ui_progress ] Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
4d3001fdfd
commit
c1fb5651bb
7 changed files with 20 additions and 8 deletions
|
@ -5,6 +5,7 @@
|
|||
#include <pthread.h>
|
||||
#include "callchain.h"
|
||||
#include "header.h"
|
||||
#include "ui/progress.h"
|
||||
|
||||
extern struct callchain_param callchain_param;
|
||||
|
||||
|
@ -108,7 +109,7 @@ struct hist_entry *__hists__add_mem_entry(struct hists *self,
|
|||
u64 weight);
|
||||
|
||||
void hists__output_resort(struct hists *self);
|
||||
void hists__collapse_resort(struct hists *self);
|
||||
void hists__collapse_resort(struct hists *self, struct ui_progress *prog);
|
||||
|
||||
void hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel);
|
||||
void hists__output_recalc_col_len(struct hists *hists, int max_rows);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue