Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1948489imm; Thu, 23 Aug 2018 11:26:28 -0700 (PDT) X-Google-Smtp-Source: AA+uWPzYrhMZY2fjI4ec78uTTvvjZRzgCYVG2Ffjj5eFkKtTQ03+zzwNtusLuVM3p2HHg+vaJY+i X-Received: by 2002:a63:610:: with SMTP id 16-v6mr24786246pgg.96.1535048788689; Thu, 23 Aug 2018 11:26:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535048788; cv=none; d=google.com; s=arc-20160816; b=CXsq8IxENL9Gp/a4NBxJzVPNtY3rXmTvnnw1LzijXZiWclDnW6nXMYsae01yy1JaVz 9n5axUFrLdwk+Oq1t4YgSxf6mZ8QLsH28U2IRfuc3UBb70znyE0csSrLkOmpP7+n7Cq7 c/J0lxq6IbQUnz101xkuj4ZxSnF1MVPbjZOg+MfgUa3kXL5UsHSSxPAmjrOF5pMiGYfe MOrDKInjwxzJgkNQhUUusE6Rjv+bN5yGiSRclQI3FXkU6TpHOjBfd22fQnftJiyrPnY8 SgnQLVslLMGGil4+e2BRymQDxOWAyl6ZpOZlWPizjKfFBLzIHTDu8UV9dFgUj9+nQZnf D20g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:message-id :subject:cc:to:date:from:dkim-signature:arc-authentication-results; bh=HKRjZCtEzlifLpJKhAO9ULHGt9CycvAjl4PA2sGorVs=; b=fg3GcwkOFGwdjKkHns6FNNgyvKeJEAvRrrGC95Ma1rWRsKhq3KqVU1O6Kzb3HlZXlG YyIvlYResR3IhITWbdy3YqUkleCEAAWRcRInCuuhhurTPEmCQI4pgrPdXhh+aLK+h5M7 PyIxqwm3Awh26aLwmSIv7Vc4wtRUXsNsnafFKi4bBWy3RoR124mZpdx4AJ8ihUxIp/B4 rPTnmDP5GoA5WNQiKmUdiBVzMWvd8iNFuwMHUICwPAcphMcAgZa70QKmA401YZ8pfNmq gL/vlQ8xNEhcy85j29RClcquslUT/9/Tluhqq67ETXsfcPdbV6Jui5ZQuhDepVPFzPun oIPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=VVkDKmCq; 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 y128-v6si5023938pgy.403.2018.08.23.11.26.12; Thu, 23 Aug 2018 11:26:28 -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; dkim=pass header.i=@maine.edu header.s=google header.b=VVkDKmCq; 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 S1727391AbeHWV4F (ORCPT + 99 others); Thu, 23 Aug 2018 17:56:05 -0400 Received: from mail-qk0-f171.google.com ([209.85.220.171]:41594 "EHLO mail-qk0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726573AbeHWV4F (ORCPT ); Thu, 23 Aug 2018 17:56:05 -0400 Received: by mail-qk0-f171.google.com with SMTP id h138-v6so4254564qke.8 for ; Thu, 23 Aug 2018 11:25:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:message-id:user-agent:mime-version; bh=HKRjZCtEzlifLpJKhAO9ULHGt9CycvAjl4PA2sGorVs=; b=VVkDKmCqM/yDCEndXo8brNVElx1aZVUCrQjOfdVoc/B7vs4A/waTOkQLZrFVM7DBA4 YPuot/3Y/Ns0kEI4lYHCUIku5rSH2KlUwsm1B6M4rB7v99sVFViTevcaqi48YyZFSyy1 4fder52OL0RAqPS5AFdG7jhT+sYJa/Lu0CD2c= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:user-agent :mime-version; bh=HKRjZCtEzlifLpJKhAO9ULHGt9CycvAjl4PA2sGorVs=; b=IaTK0McX/CHm8iG5OsdONYu4EdM4G9MrLl54PhsJrc3Wz64m0aijyWtvLCDRdC+90q iPh6N/KuGApq2q3DHqMsT8eaPfnwxnXt3MNZOcdeZ6LqTONMV8n2FYfBLpk9nxQ4xBiK W4SmiPTXSWUVUSz0m5MuQ2oOIKju0YjAAWxZ5qt5zKnJsxpfeB7FwP6rfTGuXjokWYxb mWev2stj8cUl0cG1mfAMVSXFR/T+Da2NmqeliVynX08NzeZ8C+hGHLiPpqDdjbsx2QeM vxAsjJHpaFbeaPodUY+eZCz9uOP30MlF7NikDCAqOonGNbxYwQztU0MLqr+CI7AOoXSe nyiQ== X-Gm-Message-State: AOUpUlGq/4ecoklAS8Hs5KWTBXyBIhJC/R1rSiaVtkw9sl6bIylkFPPS gOII8GDSFp1Aqbq8cmqE/+EegTIyv7k= X-Received: by 2002:a37:4453:: with SMTP id r80-v6mr56953200qka.79.1535048709234; Thu, 23 Aug 2018 11:25:09 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id a17-v6sm3010243qkb.62.2018.08.23.11.25.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 23 Aug 2018 11:25:08 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Thu, 23 Aug 2018 14:25:06 -0400 (EDT) X-X-Sender: vince@macbook-air To: Peter Zijlstra , linux-kernel@vger.kernel.org cc: Josh Poimboeuf , Alexander Shishkin , Andy Lutomirski , Arnaldo Carvalho de Melo , Arnaldo Carvalho de Melo , Jiri Olsa , Linus Torvalds , Stephane Eranian , Thomas Gleixner , Ingo Molnar Subject: [perf] perf_event.h ABI visibility question Message-ID: User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I notice that Linux 4.18 has the following changeset which changes the user visible perf_event.h file commit 6cbc304f2f360f25cc8607817239d6f4a2fd3dc5 Author: Peter Zijlstra Date: Thu May 10 15:48:41 2018 +0200 perf/x86/intel: Fix unwind errors from PEBS entries (mk-II) which contains --- a/include/uapi/linux/perf_event.h +++ b/include/uapi/linux/perf_event.h @@ -143,6 +143,8 @@ enum perf_event_sample_format { PERF_SAMPLE_PHYS_ADDR = 1U << 19, PERF_SAMPLE_MAX = 1U << 20, /* non-ABI */ + + __PERF_SAMPLE_CALLCHAIN_EARLY = 1ULL << 63, }; Is this supposed to be a user-visible interface? I realize that if the user tries to set anything above PERF_SAMPLE_MAX it will be caught and flagged as EINVAL. However even with the double-underscore hint in __PERF_SAMPLE_CALLCHAIN_EARLY the value is still in the user-visible header so it's now part of the ABI and I guess the manpage has to document it. Vince