Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2214877pxb; Wed, 30 Mar 2022 19:34:59 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySQhZ9Z8cngDx3JSXcyAj8Xm6hMNwkgffp+ieHcNF7ikhAgtutbiuR31aJ0BgdWLdI/pcr X-Received: by 2002:a65:5083:0:b0:382:3b02:9799 with SMTP id r3-20020a655083000000b003823b029799mr8959697pgp.302.1648694099633; Wed, 30 Mar 2022 19:34:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648694099; cv=none; d=google.com; s=arc-20160816; b=y3eLAeMkQSG1I1vtkY7ytVb9v3pT/vUl8FGHlnU5nROmB6Wjt+AjgcwkANw6GZ5ukW FtqsDteZ3cDM6xnV2g7qIA/lW5w5/0kyhMZ1sGdrf2eO9fK1JbkNuOowGGtn4UMchTvf ML9I1Cq1lBeywGdOZqmOVauP4Q8dyFn17388Vc0rvxr/14Eeg4fcZeKiz02WflUlxZFc 73X+cFY6u1LPxx4UTVlxoAx7WYWAJhQGtAjbubEYvKx8h45a1VJYi8OupB62ch1n3RkZ Do0Er2dl5gt8IzFN7vDI4uGrpVd/U0sCB10D2TDv1GKeLqF3un9oQvYPC/DM8uBujg0D pgKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=+sKIc+aKQfTK3bCcOKtD+AefS7mYyp0HZGonaQJYzXM=; b=YBFOO5gCYpQ88xcdT6y0W2Fz1895MzwhHfa12dTMUGQvaHfO1On9GdXM9IKe5KSHnf U8IQS3OYYONwkJ+wa03IennR2evxJWH7tezYDmIdhkGFWsZuhw6KJrNY13QN15qnvVsL aTVhQahXOYnH7OvMgbzA4sZ0blPhHWsrb6NK8pJcDSzwQ35SHqtjPzSTvVS+n6DOQ2Q5 8dML1OE72YiecvLGbPGZkmcStrDQOT8XJvJqAwIEKzerlBIx3DuohjcFjhazw3/9PvXn bEVVA+upXaFeKPYOFIXghWoryDCESWtZa3GmJXa8boY/EPYoBoIMgMzAHoEJCrUYjhoa 7Tfg== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id y67-20020a633246000000b003982f40df82si17257524pgy.124.2022.03.30.19.34.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 19:34:59 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 605548118E; Wed, 30 Mar 2022 19:30:33 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1349390AbiC3Rju (ORCPT + 99 others); Wed, 30 Mar 2022 13:39:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50956 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344245AbiC3Rjt (ORCPT ); Wed, 30 Mar 2022 13:39:49 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5F47FD4CB8; Wed, 30 Mar 2022 10:38:03 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 1E3C2B81DF5; Wed, 30 Mar 2022 17:38:02 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DCA82C34110; Wed, 30 Mar 2022 17:37:59 +0000 (UTC) Date: Wed, 30 Mar 2022 13:37:58 -0400 From: Steven Rostedt To: Mathieu Desnoyers Cc: linux-kernel , Beau Belgrave , Masami Hiramatsu , linux-trace-devel , bpf , netdev , Alexei Starovoitov , Linus Torvalds Subject: Re: [PATCH] tracing: Set user_events to BROKEN Message-ID: <20220330133758.712768db@gandalf.local.home> In-Reply-To: <1546405229.199729.1648659253425.JavaMail.zimbra@efficios.com> References: <20220329222514.51af6c07@gandalf.local.home> <1546405229.199729.1648659253425.JavaMail.zimbra@efficios.com> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 30 Mar 2022 12:54:13 -0400 (EDT) Mathieu Desnoyers wrote: > ----- On Mar 29, 2022, at 10:25 PM, rostedt rostedt@goodmis.org wrote: > > > From: "Steven Rostedt (Google)" > > > > After being merged, user_events become more visible to a wider audience > > that have concerns with the current API. It is too late to fix this for > > this release, but instead of a full revert, just mark it as BROKEN (which > > prevents it from being selected in make config). Then we can work finding > > a better API. If that fails, then it will need to be completely reverted. > > Hi Steven, > > What are the constraints for changing a uapi header after it has been present > in a kernel release ? > > If we are not ready to commit to an ABI, perhaps it would be safer to ensure > that include/uapi/linux/user_events.h is not installed with the uapi headers > until it's ready. > Linus may say otherwise, but from what I understand is that we can not break a user space application from one release to the next. That means, the only way to break something is if it is actually using something in binary form. I can not think of a situation where a header file is useful if the API it's used for is not available. Thus do we really need to hide it? What applications will use a header file that has no interface for it? I do not see the need to remove the uapi if the API for that structure is not available yet. -- Steve