mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
perf newt: Make <- zoom out filters
After we use the filters to zoom into DSOs or threads, we can use <- (left arrow) to zoom out from the last filter applied. It is still possible to zoom out of order by using the popup menu. With this we now have the zoom out operation on the browsing fast path, by allowing fast navigation using just the four arrors and the enter key to expand collapse callchains. Suggested-by: Ingo Molnar <mingo@elte.hu> Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Tom Zanussi <tzanussi@gmail.com> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
c82ee828aa
commit
3e1bbdc3a7
4 changed files with 120 additions and 3 deletions
12
tools/perf/util/pstack.h
Normal file
12
tools/perf/util/pstack.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
#ifndef _PERF_PSTACK_
|
||||
#define _PERF_PSTACK_
|
||||
|
||||
struct pstack;
|
||||
struct pstack *pstack__new(unsigned short max_nr_entries);
|
||||
void pstack__delete(struct pstack *self);
|
||||
bool pstack__empty(const struct pstack *self);
|
||||
void pstack__remove(struct pstack *self, void *key);
|
||||
void pstack__push(struct pstack *self, void *key);
|
||||
void *pstack__pop(struct pstack *self);
|
||||
|
||||
#endif /* _PERF_PSTACK_ */
|
Loading…
Add table
Add a link
Reference in a new issue