Received: by 10.192.165.156 with SMTP id m28csp129517imm; Tue, 17 Apr 2018 07:38:05 -0700 (PDT) X-Google-Smtp-Source: AIpwx4+MzIFYNSTmkJ9pFqdnRI84ZX5DuF8qZZp5P/z9AVd/ii+ra4SgHyD4XFwWTjzTmFErVEkD X-Received: by 2002:a17:902:4225:: with SMTP id g34-v6mr2234012pld.297.1523975885350; Tue, 17 Apr 2018 07:38:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523975885; cv=none; d=google.com; s=arc-20160816; b=FPDzpUqFEpnRZQ6zHeH1fBQCZlEyQ18MFA8lPppUjrB6tmAmw2iSijMPAgBOUnIljI sNm6dLySVCjurnGq6WAEMEkYrY96a+SkgI0Ykze6g8KePvZ3LieMWD+lDtTXYY1tqsbW bBRaY4smhqJDCMyv9MFvFAuj+0HEvzp9N70OQJyuI4Pm8+wncpNqqx604Tj267v+ddvs 0vXV29BBAHg+ZbQfshxqv4Xm9S7vL6GsLoTvdqHbRFoHOJUyNFvMQ4scYbbGHrzqcz94 +2F1SnHZSzddC+LXxwMNpXxuWK4hIGYw57zYiIO/WyPpnWyvHhbRfzMN/GU+Mhr3uW/j tfrA== 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=Uo3yLg1ewbr+LTw4oP9BlFfi7IfLcZRF1rj6+sYaAMk=; b=jNh3JRQD+nYEcVxwO+kbTAlZJTNC6b2apl9BJZYEfUAtteJ9S1TWZAWz1ODdehH3IW oZBBabmDt7zIfb33w6PZxbBDHpWo2Sy474rfGsP9VfXKqKr/J4jip8pv52Fz9qrJUreY Isp3ekZHSIm7MSpbEMFaiWyLbE88/CnrBtr8JKMb5w04YuFjeCDRkIu4Zvhh7z+STHtQ 8WQ4+XQOUCvhRyA4NQO+cclHUgtMIiF0H6pMutwb7vnhtD6p7J04rhzIQcYld6g1RQD/ 0fRzZ9qGXhVY8IlWli9eUQhUyozxNT60KuxfT8xBmNArG8cBAxlikFDfHQUX+6aeGXNH Tu0A== 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 n6-v6si1938205pla.12.2018.04.17.07.37.51; Tue, 17 Apr 2018 07:38:05 -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 S1753864AbeDQOe6 (ORCPT + 99 others); Tue, 17 Apr 2018 10:34:58 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:39990 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753116AbeDQOey (ORCPT ); Tue, 17 Apr 2018 10:34:54 -0400 Received: from pps.filterd (m0098410.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w3HETYbr114711 for ; Tue, 17 Apr 2018 10:34:54 -0400 Received: from e06smtp12.uk.ibm.com (e06smtp12.uk.ibm.com [195.75.94.108]) by mx0a-001b2d01.pphosted.com with ESMTP id 2hdhtdur34-1 (version=TLSv1.2 cipher=AES256-SHA256 bits=256 verify=NOT) for ; Tue, 17 Apr 2018 10:34:53 -0400 Received: from localhost by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Tue, 17 Apr 2018 15:34:50 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp12.uk.ibm.com (192.168.101.142) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Tue, 17 Apr 2018 15:34:41 +0100 Received: from d06av23.portsmouth.uk.ibm.com (d06av23.portsmouth.uk.ibm.com [9.149.105.59]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w3HEYeRJ54984816; Tue, 17 Apr 2018 14:34:40 GMT Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8F23AA4057; Tue, 17 Apr 2018 15:26:49 +0100 (BST) Received: from d06av23.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 737D5A4040; Tue, 17 Apr 2018 15:26:47 +0100 (BST) Received: from nimbus.lab.toulouse-stg.fr.ibm.com (unknown [9.145.171.143]) by d06av23.portsmouth.uk.ibm.com (Postfix) with ESMTP; Tue, 17 Apr 2018 15:26:47 +0100 (BST) From: Laurent Dufour To: akpm@linux-foundation.org, mhocko@kernel.org, peterz@infradead.org, kirill@shutemov.name, ak@linux.intel.com, 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 , David Rientjes , Jerome Glisse , Ganesh Mahendran 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, paulmck@linux.vnet.ibm.com, Tim Chen , linuxppc-dev@lists.ozlabs.org, x86@kernel.org Subject: [PATCH v10 20/25] perf: add a speculative page fault sw event Date: Tue, 17 Apr 2018 16:33:26 +0200 X-Mailer: git-send-email 2.7.4 In-Reply-To: <1523975611-15978-1-git-send-email-ldufour@linux.vnet.ibm.com> References: <1523975611-15978-1-git-send-email-ldufour@linux.vnet.ibm.com> X-TM-AS-GCONF: 00 x-cbid: 18041714-0008-0000-0000-000004EC507A X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18041714-0009-0000-0000-00001E80553F Message-Id: <1523975611-15978-21-git-send-email-ldufour@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-04-17_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-1804170131 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. Acked-by: David Rientjes 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 912b85b52344..9aad243607fe 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