Received: by 10.213.65.68 with SMTP id h4csp502986imn; Tue, 13 Mar 2018 11:05:08 -0700 (PDT) X-Google-Smtp-Source: AG47ELss5bUJnostIyZtFguM00QtDU05TNug0bFmzFk/iRUSl19Ecl9Oy6x6kyGYXxEdKmkrr1ah X-Received: by 10.98.218.7 with SMTP id c7mr1446720pfh.162.1520964307969; Tue, 13 Mar 2018 11:05:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520964307; cv=none; d=google.com; s=arc-20160816; b=zMb545K68RPNht8qN2AMPnogiyd36D0YfW9EDEy6CgpaNl3lQBKKm67honCOcgmruR O85P29S/ZlOvo6bpaDWbFzDgq5WOi71rWP5cMCWxR3+zVdIFRf2OC6Guv+/eexhAIhGT 7MAtWGRgTssCW4naRO9auGb7INRiUBxUUJ+kVN3TS9Qqs00Ofyjsn4mFSa6iGSZVAgVm S8ti71+cd+1sQxl2ejaHQvYviCIb3yBS7YpxjTzukpM5Fy9O4TqrAptpNgptJvdOX5yh 76y5xm95KvwEXuR+7jZxDQbSH0J7M+vQQdyQbnSY26oJlp3WxGZgZmK0TUmVh3xSDhpC tVQw== 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=xAttLTt+R01jk6Lz3f0XJ1gnCST/1chYBb3Wp5dnJ68=; b=aZ6XW//L+FAqFqW18N4FhvyYqXthRll3ss2nla/qzfvijA3k6C/qa2QTvz8O/PmBwq dB9aUvvi9kORD1lzf0GCjYl66BBw+1lDUzXNKecFz72k6V37eeGk0tYktiJcqOQiRCVU Dgq57vhHAQ/7sT2NTwQerFp2ThTjZer0BGV6+mWfWkLqV1/Rggh+ZOFDnemmPwTt2yUg Gahw7gf/DTlt+kHEMhW6zi019qAJ/qG6dbrf4DfgTCYN7PM4dSYP+ETHclodW4sddkns /twfkUFUNkfgV+ULwHRyAXopnVgjk3keqaDb8sMU3kT6bW9aqYQYHHgbmnkCAduSXWkI k7LQ== 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 d71si436276pgc.411.2018.03.13.11.04.48; Tue, 13 Mar 2018 11:05:07 -0700 (PDT) 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 S1752832AbeCMSAy (ORCPT + 99 others); Tue, 13 Mar 2018 14:00:54 -0400 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:46400 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752805AbeCMSAv (ORCPT ); Tue, 13 Mar 2018 14:00:51 -0400 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 w2DHsV3T077725 for ; Tue, 13 Mar 2018 14:00:50 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0b-001b2d01.pphosted.com with ESMTP id 2gpgykf5g9-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 13 Mar 2018 14:00:49 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 13 Mar 2018 18:00:47 -0000 Received: from b06cxnps4074.portsmouth.uk.ibm.com (9.149.109.196) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 13 Mar 2018 18:00:40 -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 w2DI0eu658196152; Tue, 13 Mar 2018 18:00:40 GMT Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 0440942045; Tue, 13 Mar 2018 17:52:56 +0000 (GMT) Received: from d06av24.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id D15FF42041; Tue, 13 Mar 2018 17:52:54 +0000 (GMT) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.101.4.33]) by d06av24.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 13 Mar 2018 17:52:54 +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 v9 20/24] perf: Add a speculative page fault sw event Date: Tue, 13 Mar 2018 18:59:50 +0100 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1520963994-28477-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18031318-0008-0000-0000-000004DD01A1 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18031318-0009-0000-0000-00001E700195 Message-Id: <1520963994-28477-21-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2018-03-13_08:,, 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-1803130203 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 6f873503552d..a6ddab9edeec 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