From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751079AbdKTHpo (ORCPT ); Mon, 20 Nov 2017 02:45:44 -0500 Received: from mx1.redhat.com ([209.132.183.28]:49678 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750932AbdKTHpn (ORCPT ); Mon, 20 Nov 2017 02:45:43 -0500 Date: Mon, 20 Nov 2017 08:45:41 +0100 From: Jiri Olsa To: Hyeim Yang Cc: Arnaldo Carvalho de Melo , linux-kernel@vger.kernel.org, Jiri Olsa , Namhyung Kim , Taeung Song Subject: Re: [PATCH] perf report/top: Add a tip about source line matching Message-ID: <20171120074541.GA5684@krava> References: <1510988479-2772-1-git-send-email-yanghyeimm@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1510988479-2772-1-git-send-email-yanghyeimm@gmail.com> User-Agent: Mutt/1.9.1 (2017-09-22) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.25]); Mon, 20 Nov 2017 07:45:43 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 18, 2017 at 04:01:19PM +0900, Hyeim Yang wrote: > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Taeung Song > --- > tools/perf/Documentation/tips.txt | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/perf/Documentation/tips.txt b/tools/perf/Documentation/tips.txt > index db0ca30..b60616a 100644 > --- a/tools/perf/Documentation/tips.txt > +++ b/tools/perf/Documentation/tips.txt > @@ -32,3 +32,4 @@ Order by the overhead of source file name and line number: perf report -s srclin > System-wide collection from all CPUs: perf record -a > Show current config key-value pairs: perf config --list > Show user configuration overrides: perf config --user --list > +Print matching source lines (may be slow): perf annotate --print-line this works only in stdio, so we need to add --stdio option as well jirka