Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbdHOPNL (ORCPT ); Tue, 15 Aug 2017 11:13:11 -0400 Received: from mail-pg0-f68.google.com ([74.125.83.68]:32787 "EHLO mail-pg0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751780AbdHOPNJ (ORCPT ); Tue, 15 Aug 2017 11:13:09 -0400 From: Taeung Song To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, taeung@kosslab.kr, Jiri Olsa , Milian Wolff , Namhyung Kim Subject: [PATCH v2 0/4] perf annotate: Support --show-nr-samples and circulating view Date: Wed, 16 Aug 2017 00:13:03 +0900 Message-Id: <1502809983-18097-1-git-send-email-treeze.taeung@gmail.com> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1035 Lines: 36 Hello, Add --show-nr-samples option to perf-annotate so that it corresponds with perf-report. And support the three view based on percent, total period and number of samples on the annotate TUI browser, circulating them like below: Percent -> Period -> Samples -> Percent ... I'd appreciate some feedback on my patchkit. :) The code is available on 'perf/ann-nr-samples' branch at git://github.com/taeung/linux-perf.git Thanks, Taeung v2: - period and nr-samples view can't be used at the same time (Arnaldo) Taeung Song (4): perf annotate stdio: Support --show-nr-samples option perf annotate: Period and samples view can't be used at the same time perf annotate browser: Support --show-nr-samples option perf annotate browser: Circulate percent, total period and samples view tools/perf/builtin-annotate.c | 10 ++++++++-- tools/perf/ui/browsers/annotate.c | 31 +++++++++++++++++++++++++------ tools/perf/util/annotate.c | 6 +++++- 3 files changed, 38 insertions(+), 9 deletions(-) -- 2.7.4