From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751709AbdB1UAQ (ORCPT ); Tue, 28 Feb 2017 15:00:16 -0500 Received: from mail-pg0-f48.google.com ([74.125.83.48]:36498 "EHLO mail-pg0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751422AbdB1UAK (ORCPT ); Tue, 28 Feb 2017 15:00:10 -0500 From: Taeung Song To: Arnaldo Carvalho de Melo Cc: linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Ingo Molnar , Peter Zijlstra , Wang Nan , Masami Hiramatsu , Taeung Song Subject: [PATCH v2 0/3] perf annotate: Introduce the new source code view Date: Wed, 1 Mar 2017 04:59:50 +0900 Message-Id: <1488311993-15124-1-git-send-email-treeze.taeung@gmail.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Currently perf-annotate have several problems. - Wrong line numbers on perf-annotate (both stdio and TUI) - Wrong sum of overhead(percent) matching source lines - It's so confusing that the output is mixed with both source code and assembly code. (related to depending on 'objdump -S') So fix them regarding wrong line numbers and Introduce new source_code collecting actual code, not depending on 'objdump -S'. I'd appreciate some feedback. Thanks, Taeung v2: - contains the new source code view (Namhyung) Taeung Song (3): perf annotate: Get correct line numbers matched with addr perf annotate: Introduce the new source code view perf annotate: Support the new source code view for TUI tools/perf/builtin-annotate.c | 2 +- tools/perf/ui/browsers/annotate.c | 175 ++++++++++++++++------- tools/perf/util/annotate.c | 292 ++++++++++++++++++++++++++++++++++---- tools/perf/util/annotate.h | 28 ++++ 4 files changed, 419 insertions(+), 78 deletions(-) -- 2.7.4