Received: by 10.223.176.5 with SMTP id f5csp2460796wra; Thu, 1 Feb 2018 00:39:48 -0800 (PST) X-Google-Smtp-Source: AH8x227oozrqUlOFVBI6DFW6+6TcLIQ+QD+Y1U3x4165ip9uc4+heVLIT+NKvsQA1IGGItgAojc/ X-Received: by 10.99.115.4 with SMTP id o4mr28032910pgc.206.1517474388118; Thu, 01 Feb 2018 00:39:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517474388; cv=none; d=google.com; s=arc-20160816; b=slyOb8dbCVKpsyw0xtHuZ/6rcn6/SbnAedvZhjy35BkXtVTQApRCnGs+eFwi0rR76q ybHfs1g/GSrfwchIF5RoEbNdzsDXAkDEJEbquyLYUgxrynKUJivP25LQbsdQJOQzeqU5 16u98Cd9E2qGEsFKA17YNQUZFosZaNCXThOCXVXG2wkDUeu2F8daS1CAuwQDklGgCoU8 kMpAQlXzGEDkCj/21Jwp0KDDe17uhdJkvTKAAhpqrR26LzZeMFcaxIYQu1FzyFnHLGly d1BEmniHorQ6KV3PErysK6b/MFTHxvqehi080YN/kjOiv7luHd3jiheiCLEkVJNh7m8O WSUA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=+LW1aqiOmJUo+v99tE9cxfLYE+oZ/iu3h/cBKvDcC4g=; b=bk3LDzXZDmvzPIpFja5PfWdfuqzdKDuZxG8QyLzlxIILSnIyw11sFOC0i038TvdPwf 0Q6uKKjEP2dDDMJtbRwLkoZ1TxDSKkTwG5dNuPAZdQI8ywOyhiB83om6TS78D633sIk7 eAzUtO8/WoRzImfVnoUj1sy12JGlWnedTQQtT7QPfg/w/8qAlRdGgZ7if49ccaW4oLsb 9aqpn7IuhZUtHqkzjkmmGOt4Bp+SaskVOXkTijxfYofA9VxL9FXeivb2ndF5XrA9ncvh u+p7owO7l7DwItgcdkK+uv23t3gduxfuFASi1bjIn2DHMFrvpcuCG7zeOPQ2Og/MTWmC PNXg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r28si1362343pfl.283.2018.02.01.00.39.33; Thu, 01 Feb 2018 00:39:48 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752000AbeBAIie (ORCPT + 99 others); Thu, 1 Feb 2018 03:38:34 -0500 Received: from mx1.redhat.com ([209.132.183.28]:34464 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751950AbeBAIiZ (ORCPT ); Thu, 1 Feb 2018 03:38:25 -0500 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 788F7C057F85; Thu, 1 Feb 2018 08:38:25 +0000 (UTC) Received: from krava.redhat.com (ovpn-204-213.brq.redhat.com [10.40.204.213]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3752560476; Thu, 1 Feb 2018 08:38:23 +0000 (UTC) From: Jiri Olsa To: Arnaldo Carvalho de Melo Cc: lkml , Ingo Molnar , Namhyung Kim , David Ahern , Andi Kleen , Alexander Shishkin , Peter Zijlstra , Stephane Eranian Subject: [PATCH 3/3] x86/events/intel/ds: Add PERF_SAMPLE_PERIOD into PEBS_FREERUNNING_FLAGS Date: Thu, 1 Feb 2018 09:38:12 +0100 Message-Id: <20180201083812.11359-4-jolsa@kernel.org> In-Reply-To: <20180201083812.11359-1-jolsa@kernel.org> References: <20180201083812.11359-1-jolsa@kernel.org> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.32]); Thu, 01 Feb 2018 08:38:25 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Stephan reported that we don't support period for enabling large PEBS data, which there's no reason for. Adding PERF_SAMPLE_PERIOD into freerunning flags. Reported-by: Stephane Eranian Link: http://lkml.kernel.org/n/tip-hx5yqua1c9u7iewm3h8frq5h@git.kernel.org Signed-off-by: Jiri Olsa --- arch/x86/events/perf_event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/x86/events/perf_event.h b/arch/x86/events/perf_event.h index 8e4ea143ed96..78f91ec1056e 100644 --- a/arch/x86/events/perf_event.h +++ b/arch/x86/events/perf_event.h @@ -93,7 +93,8 @@ struct amd_nb { PERF_SAMPLE_ID | PERF_SAMPLE_CPU | PERF_SAMPLE_STREAM_ID | \ PERF_SAMPLE_DATA_SRC | PERF_SAMPLE_IDENTIFIER | \ PERF_SAMPLE_TRANSACTION | PERF_SAMPLE_PHYS_ADDR | \ - PERF_SAMPLE_REGS_INTR | PERF_SAMPLE_REGS_USER) + PERF_SAMPLE_REGS_INTR | PERF_SAMPLE_REGS_USER | \ + PERF_SAMPLE_PERIOD) #define PEBS_REGS \ (PERF_REG_X86_AX | \ -- 2.13.6