From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754100AbcFPMms (ORCPT ); Thu, 16 Jun 2016 08:42:48 -0400 Received: from mga04.intel.com ([192.55.52.120]:49931 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753256AbcFPMmr (ORCPT ); Thu, 16 Jun 2016 08:42:47 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.26,480,1459839600"; d="scan'208";a="123010073" Subject: Re: [PATCH 1/2] perf pt: Mark PT return events as "return" To: Andi Kleen , acme@kernel.org References: <1465599301-4240-1-git-send-email-andi@firstfloor.org> Cc: linux-kernel@vger.kernel.org, jolsa@kernel.org, Andi Kleen From: Adrian Hunter Organization: Intel Finland Oy, Registered Address: PL 281, 00181 Helsinki, Business Identity Code: 0357606 - 4, Domiciled in Helsinki Message-ID: <57629DD1.5020606@intel.com> Date: Thu, 16 Jun 2016 15:38:41 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2 MIME-Version: 1.0 In-Reply-To: <1465599301-4240-1-git-send-email-andi@firstfloor.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/06/16 01:55, Andi Kleen wrote: > From: Andi Kleen > > With perf script --itrace=cr we can synthesize calls and returns out of > a PT log. However both calls and returns are marked with the same event, > called branches. This makes it difficult to read and post process, > because calls and returns are somewhat diffferent. > > Create a separate return event and mark the returns as return. I tend to think that there should be a new itrace option for that. Also I have an alternative. Please let me know what you think. http://marc.info/?l=linux-kernel&m=146608073131297