Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3287149imm; Fri, 24 Aug 2018 14:10:49 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZqAcmyuaAZ+rZ1vtBqGfmE0gbHPSVL5EOtW+OwmUR2suVeYw/jbHTtEr3yWeFROAE7hY95 X-Received: by 2002:a63:d10c:: with SMTP id k12-v6mr3226479pgg.49.1535145049229; Fri, 24 Aug 2018 14:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535145049; cv=none; d=google.com; s=arc-20160816; b=iZFSP2moMEO6z4d3/yCP0re5vKdsDm+jI9YN3xUn0tqSJGmDsqqe5/fdwHCvh6BleA Y5Lf47nNNTgRvjcE8/1uBD3K/KqAP7J+ienQo56iuPZKaIBM5YFlcevUAzML2ACRLYg8 fMTQqkYppJyyQBUrGUMumdogFHZ+uV2QOZgX3RWdyrjizoqAoQCbBnx+KSleuLjDuqTB 9/bet+GzhOcW0JamTB7IiHelO/3ttITwp5jsCpOtx38IMx7Ajc8qm6E42kbRsERgqm9O 3MI+v4xr6zJ9wCMb+a+bNTwiQqfigdEueiMmnGxus918pQu4i23+PeaAin11+D+pAJec vwNA== 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:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature :arc-authentication-results; bh=NFmMHGWpphaZlRgkjWQwaHICII65kQYMGQOqE4IfmG8=; b=ZhPFMjOF8JPSNnDYYwCOQr0xMfO2+b7052MRIVNoHYuTu4T2QwyLKk/6TxRnkwCXtt demzjKhIrnCm6SAd4tdv2bIGyC+S6vwxPXB5HSHR0VR6ZYVcb5TwaQczifvvWsAEh3C+ t858ZVXx1DoQFd3i44TB2sY+h1FeOswEUzRxKXi+Ka/z04vhGzq8RgRo9tXyVQ6gFfMI W+wo5f+PNzPjYFgRL50KBj5CClghfOx/cqlIzDLUXF6eABgoIuEMsbbj5HOR6KjQ2s0e T723Uc2DeWGygcLcYO2rMWw1zD2nYse43DW1ErGX698BAv+KcopiRjGUjTdIFsEMBIIb vs7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=EmOdLT1A; 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 a74-v6si8555190pfe.301.2018.08.24.14.10.33; Fri, 24 Aug 2018 14:10:49 -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=EmOdLT1A; 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 S1727342AbeHYAps (ORCPT + 99 others); Fri, 24 Aug 2018 20:45:48 -0400 Received: from mail-qt0-f196.google.com ([209.85.216.196]:36782 "EHLO mail-qt0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726850AbeHYAps (ORCPT ); Fri, 24 Aug 2018 20:45:48 -0400 Received: by mail-qt0-f196.google.com with SMTP id t5-v6so11700398qtn.3 for ; Fri, 24 Aug 2018 14:09:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=NFmMHGWpphaZlRgkjWQwaHICII65kQYMGQOqE4IfmG8=; b=EmOdLT1AlXq0oOgtTnd50bH5IltK1jg7l9842IvfQWn0JUyela/RpnCUmI02i1R1+N dqHCtaOYq2URxwSSgYwLJ2rXHImFA85aowAjNhxXA1bkXBOBxa+kSEouhqqRKdxCwxas 3By0MvqDyY7fkT2AfqbOD8nm553/ows0n7zr8= 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:in-reply-to:message-id :references:user-agent:mime-version; bh=NFmMHGWpphaZlRgkjWQwaHICII65kQYMGQOqE4IfmG8=; b=F4xZpbf8jt8XstiXSIF09XvZxKm2PEUTIcZ+oo0zyOQKB5gsFFi28jGwhI5draE+7H 1BSyf8QuRGCBeHG+OdHXRswutyS5poodFEKFXZAfFXT9AqJXP3gm5TZ9+uL/80ek0mjZ lWdcXJwHekSBCYYH7Y6QMAmRgn98XTSdACqHGx6L2F7vEzL26PsYOXORqVdX7bK5Ho7Z 5JueAWkPrxFx0E6cj6BEeWwZvcbfOYO58zgU6VG+GPZgd50D+PajTSzikzZ9rpoQuArX ArOwy3greEwFPTXVEOaGnTFbENcgerAHScrwbX0PnGVJB+LuyuHpLNzM3FbAgWXEn8Hj o5+w== X-Gm-Message-State: APzg51BhjZ2WQ6CYLdehrnRmBoJZpDIB4+8dPGOHJ5QwBJUERoviiGyf 7v4eo1skYzpmG5z09+qv3sw/yA== X-Received: by 2002:aed:22e5:: with SMTP id q34-v6mr3785744qtc.179.1535144969412; Fri, 24 Aug 2018 14:09:29 -0700 (PDT) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id s35-v6sm5511261qtj.79.2018.08.24.14.09.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 Aug 2018 14:09:28 -0700 (PDT) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 24 Aug 2018 17:09:27 -0400 (EDT) X-X-Sender: vince@macbook-air To: Peter Zijlstra cc: linux-kernel@vger.kernel.org, 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: Re: [perf] perf_event.h ABI visibility question In-Reply-To: <20180824085042.GL24124@hirez.programming.kicks-ass.net> Message-ID: References: <20180824085042.GL24124@hirez.programming.kicks-ass.net> 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 On Fri, 24 Aug 2018, Peter Zijlstra wrote: > > +++ 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, > > }; > > > > Hurphm.. visible yes, but as you say, also quite useless. Does it really > make sense to document that? Well, it should probably be documented either in the manpage or else in perf_event.h (even if it's just "internal use, don't use") as we can't really expect people to download a git tree and do a git-blame to try to figure out what this mysterious field is all about. Also, this change increased the size of the enum from 32 to 64 bits on 32-bit machines, though that only really matters if the user is doing something really weird with enum variables. Vince