From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755665AbdDQXCX (ORCPT ); Mon, 17 Apr 2017 19:02:23 -0400 Received: from mail-wm0-f68.google.com ([74.125.82.68]:35662 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753796AbdDQXCV (ORCPT ); Mon, 17 Apr 2017 19:02:21 -0400 From: Alexis Berlemont To: linux-kernel@vger.kernel.org Cc: Alexis Berlemont , peterz@infradead.org, mingo@redhat.com, acme@kernel.org, alexander.shishkin@linux.intel.com Subject: [PATCH 0/3] perf: callchain-specific annotation Date: Tue, 18 Apr 2017 00:55:17 +0200 Message-Id: <20170417225520.28082-1-alexis.berlemont@gmail.com> X-Mailer: git-send-email 2.12.2 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, These patches are a proposal to fulfill the following point of perf's TODO list (https://perf.wiki.kernel.org/index.php/Todo): * What I want is that if I am on bar*(), it annotates bar*(), no samples just the call site (obtained from the callchain) dissassembly. This is useful because in many cases there maybe multiple call sites within a function and there maybe inlines in between. Hard to track down if you cannot figure out the surrounding addresses of the call site. (Request made by Stephane Eranian). These patches are still at an early stage: * Per-callchain annotation is only available in perf-report; * Tests were not performed on real-world applications but on small basic ones. Alexis. Alexis Berlemont (3): perf annotate: implement per-callchain annotation histogram perf hists browser: add callchain-specific annotation perf report: fill per-callchain symbol annotation histograms tools/perf/builtin-report.c | 8 ++ tools/perf/ui/browsers/hists.c | 188 ++++++++++++++++++++++++- tools/perf/util/annotate.c | 308 ++++++++++++++++++++++++++++++++++++++++- tools/perf/util/annotate.h | 19 +++ 4 files changed, 517 insertions(+), 6 deletions(-) -- 2.12.2