From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752628AbbEDUKS (ORCPT ); Mon, 4 May 2015 16:10:18 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42383 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751823AbbEDUKO (ORCPT ); Mon, 4 May 2015 16:10:14 -0400 Date: Mon, 4 May 2015 22:09:48 +0200 From: Jiri Olsa To: Adrian Hunter Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , linux-kernel@vger.kernel.org, David Ahern , Frederic Weisbecker , Namhyung Kim , Stephane Eranian Subject: Re: [PATCH V4 06/24] perf tools: Add support for PERF_RECORD_AUX Message-ID: <20150504200948.GJ11223@krava> References: <1430404667-10593-1-git-send-email-adrian.hunter@intel.com> <1430404667-10593-7-git-send-email-adrian.hunter@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1430404667-10593-7-git-send-email-adrian.hunter@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 30, 2015 at 05:37:29PM +0300, Adrian Hunter wrote: > Add support for the PERF_RECORD_AUX event type. > > PERF_RECORD_AUX is a new kernel event that records > when new data lands in the AUX buffer. Currently > it is assumed that AUX data follows the same ring > buffer conventions used by the perf events buffer, > and consequently the AUX event is not processed > during recording. > > It is processed during session processing so that > the information in the 'flags' member is made > available. > > The format of PERF_RECORD_AUX is outlined in the > linux/perf_events.h header file. The 'flags' are > also enumerated. > > Intel PT and Intel BTS use the flag named > PERF_AUX_FLAG_TRUNCATED to determine if data has > been lost because the buffer became full as > perf was not able to empty it fast enough. > > Signed-off-by: Adrian Hunter Acked-by: Jiri Olsa thanks, jirka