[PATCH 7/7] perf hists browser: Simplify zooming code a bit

2015-04-20 Thread Namhyung Kim
Introduce pstack_peek() and reuse do_zoom_dso/thread() function. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 18 +- tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 3 files changed, 13 insertions(+), 13 deletions(-) diff

[PATCH 7/7] perf hists browser: Simplify zooming code a bit

2015-04-20 Thread Namhyung Kim
Introduce pstack_peek() and reuse do_zoom_dso/thread() function. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 18 +- tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 3 files changed, 13 insertions(+), 13

[PATCH 7/7] perf hists browser: Simplify zooming code a bit

2015-04-18 Thread Namhyung Kim
Introduce pstack_peek() and reuse do_zoom_dso/thread() function. Signed-off-by: Namhyung Kim --- tools/perf/ui/browsers/hists.c | 16 +--- tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 3 files changed, 13 insertions(+), 11 deletions(-) diff

[PATCH 7/7] perf hists browser: Simplify zooming code a bit

2015-04-18 Thread Namhyung Kim
Introduce pstack_peek() and reuse do_zoom_dso/thread() function. Signed-off-by: Namhyung Kim namhy...@kernel.org --- tools/perf/ui/browsers/hists.c | 16 +--- tools/perf/util/pstack.c | 7 +++ tools/perf/util/pstack.h | 1 + 3 files changed, 13 insertions(+), 11