From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756802AbcAJDiW (ORCPT ); Sat, 9 Jan 2016 22:38:22 -0500 Received: from one.firstfloor.org ([193.170.194.197]:57061 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756762AbcAJDiU (ORCPT ); Sat, 9 Jan 2016 22:38:20 -0500 Date: Sun, 10 Jan 2016 04:38:12 +0100 From: Andi Kleen To: Namhyung Kim Cc: Arnaldo Carvalho de Melo , Ingo Molnar , Peter Zijlstra , Jiri Olsa , LKML , David Ahern , Andi Kleen , Wang Nan , Brendan Gregg Subject: Re: [PATCH 1/4] perf tools: Add more usage tips Message-ID: <20160110033812.GE4698@two.firstfloor.org> References: <1452334589-8782-1-git-send-email-namhyung@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1452334589-8782-1-git-send-email-namhyung@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > +Show individual samples with: perf script > +Limit to show entries above 5% only: perf report --percent-limit 5 > +Profiling branch (mis)predictions with: perf record -b / perf report > +Treat branches as callchains: perf report --branch-history > +To count events in every 1000 msec: perf stat -I 1000 > +Print event counts in CSV format with: perf stat -x Should be -x, -Andi