From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932244AbdCUGvn (ORCPT ); Tue, 21 Mar 2017 02:51:43 -0400 Received: from terminus.zytor.com ([65.50.211.136]:60084 "EHLO terminus.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755905AbdCUGvj (ORCPT ); Tue, 21 Mar 2017 02:51:39 -0400 Date: Mon, 20 Mar 2017 23:51:05 -0700 From: tip-bot for Alexander Shishkin Message-ID: Cc: eranian@google.com, a.p.zijlstra@chello.nl, tglx@linutronix.de, linux-kernel@vger.kernel.org, mingo@kernel.org, hpa@zytor.com, vince@deater.net, acme@redhat.com, adrian.hunter@intel.com, alexander.shishkin@linux.intel.com Reply-To: hpa@zytor.com, vince@deater.net, acme@redhat.com, adrian.hunter@intel.com, alexander.shishkin@linux.intel.com, linux-kernel@vger.kernel.org, mingo@kernel.org, tglx@linutronix.de, eranian@google.com, a.p.zijlstra@chello.nl In-Reply-To: <8760j941ig.fsf@ashishki-desk.ger.corp.intel.com> References: <8760j941ig.fsf@ashishki-desk.ger.corp.intel.com> To: linux-tip-commits@vger.kernel.org Subject: [tip:perf/core] tools include: Sync {,tools/}include/uapi/linux/perf_event.h Git-Commit-ID: 38a33f07122f6e6194bf5402c0cd057d1cc50be8 X-Mailer: tip-git-log-daemon Robot-ID: Robot-Unsubscribe: Contact to get blacklisted from these emails MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Commit-ID: 38a33f07122f6e6194bf5402c0cd057d1cc50be8 Gitweb: http://git.kernel.org/tip/38a33f07122f6e6194bf5402c0cd057d1cc50be8 Author: Alexander Shishkin AuthorDate: Thu, 16 Mar 2017 18:41:59 +0200 Committer: Arnaldo Carvalho de Melo CommitDate: Fri, 17 Mar 2017 11:49:09 -0300 tools include: Sync {,tools/}include/uapi/linux/perf_event.h To get PERF_AUX_FLAG_PARTIAL, introduced in: ae0c2d995d64 ("perf/core: Add a flag for partial AUX records") and that will be used to warn the user about gaps in AUX records due to VMX being used in KVM guests. Silences the kernel/tools file copy detector: Warning: include/uapi/linux/perf_event.h differs from kernel Signed-off-by: Alexander Shishkin Cc: Adrian Hunter Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Vince Weaver Link: http://lkml.kernel.org/r/8760j941ig.fsf@ashishki-desk.ger.corp.intel.com [ Split from a larger patch ] Signed-off-by: Arnaldo Carvalho de Melo --- tools/include/uapi/linux/perf_event.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/include/uapi/linux/perf_event.h b/tools/include/uapi/linux/perf_event.h index bec0aad..d09a9cd 100644 --- a/tools/include/uapi/linux/perf_event.h +++ b/tools/include/uapi/linux/perf_event.h @@ -915,6 +915,7 @@ enum perf_callchain_context { */ #define PERF_AUX_FLAG_TRUNCATED 0x01 /* record was truncated to fit */ #define PERF_AUX_FLAG_OVERWRITE 0x02 /* snapshot from overwrite mode */ +#define PERF_AUX_FLAG_PARTIAL 0x04 /* record contains gaps */ #define PERF_FLAG_FD_NO_GROUP (1UL << 0) #define PERF_FLAG_FD_OUTPUT (1UL << 1)