Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755925Ab3ENCJM (ORCPT ); Mon, 13 May 2013 22:09:12 -0400 Received: from lgeamrelo01.lge.com ([156.147.1.125]:60661 "EHLO LGEAMRELO01.lge.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755732Ab3ENCJJ (ORCPT ); Mon, 13 May 2013 22:09:09 -0400 X-AuditID: 9c93017d-b7b62ae000004f69-4e-51919cc3c989 From: Namhyung Kim To: Arnaldo Carvalho de Melo Cc: Peter Zijlstra , Paul Mackerras , Ingo Molnar , Namhyung Kim , LKML , Jiri Olsa , David Ahern , Stephane Eranian Subject: [PATCHSET 0/9] perf tools: Assorted fixes and changes on perf top/report Date: Tue, 14 May 2013 11:08:58 +0900 Message-Id: <1368497347-9628-1-git-send-email-namhyung@kernel.org> X-Mailer: git-send-email 1.7.11.7 X-Brightmail-Tracker: AAAAAA== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2236 Lines: 57 Hi, This patchset is a collection of 3 changes on perf top and report tools. I wanted to make them independent, but failed due to laziness. :) Patch 1 is a fix for -E option handling in perf top. IIUC it only shows a given number of entries. Patch 2 is a simple fix. Patch 3-5 remove a set of _threaded() functions and also remove unnecessary locking on perf report path. It leads to a small performance gain. Patch 6-9 implement a long-requested --percent-limit option. I preserve the default value to 0 but an user can set it to a different value using the .perfconfig file. You can get it from 'perf/top-v1' branch on my tree at: git://git.kernel.org/pub/scm/linux/kernel/git/namhyung/linux-perf.git Any comments are welcome, thanks. Namhyung Namhyung Kim (9): perf top: Fix -E option behavior perf top: Fix percent output when no samples collected perf top: Get rid of *_threaded() functions perf hists: Move locking to its call-sites perf report: Don't be bothered with locking when adding hist entries perf report: Add --percent-limit option perf top: Add --percent-limit option perf report: Add report.percent-limit config variable perf top: Reuse report.percent-limit config variable tools/perf/Documentation/perf-report.txt | 4 ++ tools/perf/Documentation/perf-top.txt | 4 ++ tools/perf/builtin-diff.c | 2 +- tools/perf/builtin-report.c | 50 +++++++++++------ tools/perf/builtin-top.c | 73 ++++++++++++++++-------- tools/perf/ui/browsers/hists.c | 95 +++++++++++++++++++++++++++----- tools/perf/ui/gtk/hists.c | 13 ++++- tools/perf/ui/stdio/hist.c | 7 ++- tools/perf/util/hist.c | 50 +++-------------- tools/perf/util/hist.h | 14 ++--- tools/perf/util/top.c | 23 ++++++-- tools/perf/util/top.h | 1 + 12 files changed, 222 insertions(+), 114 deletions(-) -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/