From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752526AbcAXNyl (ORCPT ); Sun, 24 Jan 2016 08:54:41 -0500 Received: from mail-pf0-f181.google.com ([209.85.192.181]:35779 "EHLO mail-pf0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752057AbcAXNyi (ORCPT ); Sun, 24 Jan 2016 08:54:38 -0500 From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , Andi Kleen , David Ahern , Frederic Weisbecker , Wang Nan Subject: [PATCHSET 00/12] perf tools: Apply percent-limit to callchains Date: Sun, 24 Jan 2016 22:53:23 +0900 Message-Id: <1453643615-1616-1-git-send-email-namhyung@kernel.org> X-Mailer: git-send-email 2.6.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, This patchset tries to implement percent limit to callchains which was requested by Andi Kleen. For some reason, limiting callchains by (overhead) percentage didn't work well. This patch fixes it and make --percent-limit also works for callchains as well as hist entries. This is available on 'perf/callchain-limit-v1' branch in my tree: git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Any comments are welcome, Thanks, Namhyung Namhyung Kim (12): perf report: Apply --percent-limit to callchains also perf report: Apply callchain percent limit on --stdio perf report: Get rid of hist_entry__callchain_fprintf() perf report: Fix percent calculation on --stdio perf report: Hide output pipe for percent-limited callchains on stdio perf hists browser: Fix dump to show correct callchain style perf hists browser: Fix callchain_node__count_rows() perf hists browser: Apply callchain percent limit perf hists browser: Fix callchain counting when press ENTER key perf hists browser: Fix counting callchains when expand/collapse all perf hists browser: Update percent base for fractal callchain mode perf report: Fix callchain percent limit on --gtk tools/perf/builtin-report.c | 9 +- tools/perf/ui/browsers/hists.c | 221 ++++++++++++++++++++++++++++++----------- tools/perf/ui/gtk/hists.c | 15 +++ tools/perf/ui/stdio/hist.c | 74 ++++++++------ 4 files changed, 229 insertions(+), 90 deletions(-) -- 2.6.4