From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754810AbdERFKr (ORCPT ); Thu, 18 May 2017 01:10:47 -0400 Received: from mga06.intel.com ([134.134.136.31]:55348 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754742AbdERFKp (ORCPT ); Thu, 18 May 2017 01:10:45 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.38,357,1491289200"; d="scan'208";a="1149427237" Date: Wed, 17 May 2017 22:10:43 -0700 From: Andi Kleen To: David Carrillo-Cisneros Cc: linux-kernel@vger.kernel.org, Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Alexander Shishkin , Simon Que , Wang Nan , Jiri Olsa , He Kuang , Masami Hiramatsu , David Ahern , Namhyung Kim , Stephane Eranian , Paul Turner Subject: Re: [PATCH 0/7] perf tool: add meta-data header support for pipe-mode Message-ID: <20170518051043.GA15563@tassilo.jf.intel.com> References: <20170518041602.28689-1-davidcc@google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170518041602.28689-1-davidcc@google.com> User-Agent: Mutt/1.8.0 (2017-02-23) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > The difficulty in pipe mode is that information needs to be written > sequentially to the pipe. Meta data headers are usually generated > (and also expected) at the beginning of the file (or piped output). > To solve this problem, we introduce new synthetic record types, > one for each meta-data type. The approach is similar to what > is *ALREADY* used for BUILD_ID and TRACING_DATA. The new headers need documentation in Documentation/perf.data-file-format.txt -Andi