Received: by 10.223.176.5 with SMTP id f5csp882408wra; Tue, 6 Feb 2018 08:55:56 -0800 (PST) X-Google-Smtp-Source: AH8x226znCsrJbs1mhRpFsjdSuYzJ4WeGE+pdYVrgZKhZHXUKPPt7PwvZ28dBi8SlNE1kgFl6jCG X-Received: by 10.101.80.69 with SMTP id k5mr2467199pgo.435.1517936155907; Tue, 06 Feb 2018 08:55:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517936155; cv=none; d=google.com; s=arc-20160816; b=YAvLyivmdTJ/bujBw3uDxTFjbGlBRB9+/nUWxTs7rGvcajoEza+/6G3aV5tQNZxDa6 6bPjp15JMp+p285UgTOlCjVC+xMFTfUNgdoFJERxOjtnXGFL6/Y3WU6BT1NVT6GrzsV2 XXFZd+BEAixSifyWTOSODNCWQPeA5aYpZ4nPH+r9rMtZBBlUrc1S47HFJfU7lXNAJIwb eNn1UsMYKejanWDrMY2E9jIxW7TwdQwkxjMONXWreS+sUAjTryy0iCGJGKgsuv+HId1s 84msm4A7X0a8PVTzA0PZ+j1W6HOeIRXZUkDyDebI7qlruaqUpgI/VhfGkktuhQgKaK4h N/8A== 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=GYjBtv0MPogHcRNj2Wij3yLKseFI4LqybzDv1FZtK/43ZB/HhEcHg4T+PXm8afGjXD LM+qQ4bMQCNcb+stY+ui1XTAkjdUWEhG3LOMCAvay6+ioqyW5s3fnAENGUNslV/FLDS9 dAMi6uh7euz8Y0rhVR4DWGU2tBGyARmD6GirEzeDidsSW8qiZlarn023zavOr4/zq/bK e+g4B9+6Z/UkMGoAxnYQY1MR44LnHMwULnXF5g5iuXA6sre0qsE8m62Rn99BAZ86OphS twWhz1ZCD3IkSQCgAqUGCoHn8Vhj2mfxS5M7XiAR+LJGR2unR9K5/e4dTSstBzDbzBDY W6IQ== 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 a5-v6si1935608plt.652.2018.02.06.08.55.42; Tue, 06 Feb 2018 08:55:55 -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 S1753159AbeBFQyW (ORCPT + 99 others); Tue, 6 Feb 2018 11:54:22 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:37686 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752364AbeBFQvF (ORCPT ); Tue, 6 Feb 2018 11:51:05 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w16Gn5pb081679 for ; Tue, 6 Feb 2018 11:51:04 -0500 Received: from e06smtp11.uk.ibm.com (e06smtp11.uk.ibm.com [195.75.94.107]) by mx0b-001b2d01.pphosted.com with ESMTP id 2fye20f1pc-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Tue, 06 Feb 2018 11:51:03 -0500 Received: from localhost by e06smtp11.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 6 Feb 2018 16:51:01 -0000 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp11.uk.ibm.com (192.168.101.141) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 6 Feb 2018 16:50:53 -0000 Received: from d06av25.portsmouth.uk.ibm.com (d06av25.portsmouth.uk.ibm.com [9.149.105.61]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w16Gor9023199848; Tue, 6 Feb 2018 16:50:53 GMT Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9058811C052; Tue, 6 Feb 2018 16:44:16 +0000 (GMT) Received: from d06av25.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8A84711C054; Tue, 6 Feb 2018 16:44:15 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av25.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 6 Feb 2018 16:44:15 +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 v7 20/24] perf: Add a speculative page fault sw event Date: Tue, 6 Feb 2018 17:50:06 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517935810-31177-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1517935810-31177-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18020616-0040-0000-0000-0000042D07AD X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18020616-0041-0000-0000-000020D0B7B6 Message-Id: <1517935810-31177-21-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-02-06_07:,, 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-1802060212 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