Received: by 10.223.185.116 with SMTP id b49csp1038385wrg; Fri, 16 Feb 2018 11:15:46 -0800 (PST) X-Google-Smtp-Source: AH8x2272lSX2E6C64sG0bTJgIZuJMhMybsOL0V8vspE18Kz3vX0KGS0DA4BXs4ktbWergPuuEB9X X-Received: by 10.98.101.195 with SMTP id z186mr6976412pfb.47.1518808546307; Fri, 16 Feb 2018 11:15:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1518808546; cv=none; d=google.com; s=arc-20160816; b=ihNn2FHN6HQPVzPspcn0X+HbxRKFP8AElTh6B08QE3mwS12DUaZ09lTj5v32GDXGoV fraMqbDMvq5cY3CV1cZn8BG3B2m9nNz19lvXxiuS5ChuPd0xQY4AwgY51WbqENTDqDBR SNEmsx+dJREyRCtBWuvULZcPRsg9fnopv780pfWfNDISzJIefawIXQ3e3B/jlwfXNKTX RQW16ebOTxWC3pOt9D4k5Hf4wRIxgsipw3tVDBD9iR7hEFQIlWa5kAsIMr7Etv7B1mId w8S9bsbV3/vdF9/cMnTnn08qCrsKqMxF5SjonHWMqraEDPl8ZveXKLHz+hs4tTtpDEl+ 7Dlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:references:in-reply-to:date :subject:cc:to:from:arc-authentication-results; bh=pGigSims40Rqw/FoqbyGDUwCclLEnJVXaXGTIMA0O1A=; b=iW9mxgvPkFQfbhgJulp/qLJMdGCB01d3sh2dlrZ2FNqp+ldzfhP+5DOqrliNjn+dDr Py9nAEgo2FDXDCBnz+3TCUHINT/NaSrL5AHylUWsaR6Pcej54nFK9R+6M0V8rIbcmKYX dq7fwXGSCDdpMhgIuGCPEWvko1fnawwppVSELbOOsX2Gc5uqMdJWvBUg2MLQTToKyF7V 7tDtQuno58yUbWw0WFQaCArd/Yzw1nItwC1N9iadg+r+ULCzq/3eGrqJLboOS1JnzJVo +2gsbeDl1G47TdahJM3vBbC0PuxI2gy2g2TQQMixqijx+ZsrI+xCimv77Xg329fJR10h UPAw== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 64-v6si1686601plk.167.2018.02.16.11.15.31; Fri, 16 Feb 2018 11:15:46 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S967326AbeBPP10 (ORCPT + 99 others); Fri, 16 Feb 2018 10:27:26 -0500 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:40622 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S966891AbeBPP1T (ORCPT ); Fri, 16 Feb 2018 10:27:19 -0500 Received: from pps.filterd (m0098409.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w1GFQ7N2091846 for ; Fri, 16 Feb 2018 10:27:19 -0500 Received: from e06smtp13.uk.ibm.com (e06smtp13.uk.ibm.com [195.75.94.109]) by mx0a-001b2d01.pphosted.com with ESMTP id 2g60v4b4x4-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Fri, 16 Feb 2018 10:26:57 -0500 Received: from localhost by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 16 Feb 2018 15:26:55 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp13.uk.ibm.com (192.168.101.143) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Fri, 16 Feb 2018 15:26:47 -0000 Received: from d06av24.portsmouth.uk.ibm.com (d06av24.portsmouth.uk.ibm.com [9.149.105.60]) by b06cxnps4074.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w1GFQl7I45220040; Fri, 16 Feb 2018 15:26:47 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 347D042049; Fri, 16 Feb 2018 15:19:31 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 1DCE142041; Fri, 16 Feb 2018 15:19:29 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.145.186.2]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Fri, 16 Feb 2018 15:19:29 +0000 (GMT) From: Laurent Dufour To: paulmck@linux.vnet.ibm.com, peterz@infradead.org, akpm@linux-foundation.org, kirill@shutemov.name, ak@linux.intel.com, mhocko@kernel.org, dave@stgolabs.net, jack@suse.cz, Matthew Wilcox , benh@kernel.crashing.org, mpe@ellerman.id.au, paulus@samba.org, Thomas Gleixner , Ingo Molnar , hpa@zytor.com, Will Deacon , Sergey Senozhatsky , Andrea Arcangeli , Alexei Starovoitov , kemi.wang@intel.com, sergey.senozhatsky.work@gmail.com, Daniel Jordan Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, haren@linux.vnet.ibm.com, khandual@linux.vnet.ibm.com, npiggin@gmail.com, bsingharora@gmail.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: [PATCH v8 20/24] perf: Add a speculative page fault sw event Date: Fri, 16 Feb 2018 16:25:34 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1518794738-4186-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1518794738-4186-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18021615-0012-0000-0000-000005B1801B X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18021615-0013-0000-0000-0000192D84B7 Message-Id: <1518794738-4186-21-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-16_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1802160183 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add a new software event to count succeeded speculative page faults. Signed-off-by: Laurent Dufour --- include/uapi/linux/perf_event.h | 1 + 1 file changed, 1 insertion(+) diff --git a/include/uapi/linux/perf_event.h b/include/uapi/linux/perf_event.h index e0739a1aa4b2..164383273147 100644 --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h @@ -112,6 +112,7 @@ enum perf_sw_ids { PERF_COUNT_SW_EMULATION_FAULTS = 8, PERF_COUNT_SW_DUMMY = 9, PERF_COUNT_SW_BPF_OUTPUT = 10, + PERF_COUNT_SW_SPF = 11, PERF_COUNT_SW_MAX, /* non-ABI */ }; -- 2.7.4