Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935677AbcKWXWJ (ORCPT ); Wed, 23 Nov 2016 18:22:09 -0500 Received: from mx1.redhat.com ([209.132.183.28]:46914 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934245AbcKWXWH (ORCPT ); Wed, 23 Nov 2016 18:22:07 -0500 Date: Thu, 24 Nov 2016 00:22:02 +0100 From: Jiri Olsa To: kan.liang@intel.com Cc: peterz@infradead.org, mingo@redhat.com, acme@kernel.org, linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com, tglx@linutronix.de, namhyung@kernel.org, jolsa@kernel.org, adrian.hunter@intel.com, wangnan0@huawei.com, mark.rutland@arm.com, andi@firstfloor.org Subject: Re: [PATCH 14/14] perf script: show overhead events Message-ID: <20161123232202.GL15978@krava> References: <1479894292-16277-1-git-send-email-kan.liang@intel.com> <1479894292-16277-15-git-send-email-kan.liang@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1479894292-16277-15-git-send-email-kan.liang@intel.com> User-Agent: Mutt/1.7.1 (2016-10-04) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.29]); Wed, 23 Nov 2016 23:22:07 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 735 Lines: 16 On Wed, Nov 23, 2016 at 04:44:52AM -0500, kan.liang@intel.com wrote: > From: Kan Liang > > Introduce a new option --show-overhead to show overhead events in perf > script perf 7356 [001] 7292.203517: 482010 cycles:pp: ffffffff818e2150 _raw_spin_unlock_irqrestore+0x40 (/lib/modules/4.9.0-rc1+/build/vmlinux) PERF_RECORD_USER_OVERHEAD [USER WRITE] nr: 1995 time: 14790661 cpu 1 PERF_RECORD_USER_OVERHEAD [ELAPSED TIME] time: 2721649901 perf 7356 [001] 7292.203766: 482076 cycles:pp: ffffffff81117f17 lock_release+0x37 (/lib/modules/4.9.0-rc1+/build/vmlinux) I guess those 2 overhead events dont have context..? should we make sure they are the last events? thanks, jirka