Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp323276pxb; Thu, 31 Mar 2022 06:21:34 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXXZoyhVGb6jzTqyvywz7jISRlrAOKAerf30/Y5vIrsnlH+TZUKZi6OevmE2NyAA3RDQXE X-Received: by 2002:a17:90a:c595:b0:1c7:bb62:4487 with SMTP id l21-20020a17090ac59500b001c7bb624487mr6103605pjt.190.1648732894371; Thu, 31 Mar 2022 06:21:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648732894; cv=none; d=google.com; s=arc-20160816; b=oHGM7xn6AkDU/X4Xxlsk0veHdaWLVkaSWxJix2KsnlmhVN33+ikhbzHz/N/+1UG8E1 hdsIPj1LN971URvp774BLnmbbwyPlbtgfeXf7ssYErsbIUZFf7grZt5W0AoKKxgYyuSE ab/3aolDeg0zE72PFOe8eseB+mVDdU3tBLFyw9Vr03Ei+GsHQEerf4ndWKWV2J6cKxKK zMad1z1UqC0ySRL/FiD4T++e7LxX8hbJxLE3e/aapLfA6yW96smGi2kt6tf8uqvMGGrc 1TwjLfG6tdXRG7Lmy+1F6oWCdjyuZU4tOHcautJV/LDrO29d3eS9sVb7z4UsYru2WX7x 1Nbg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=9Htjky9XkVnyUWia+NbkPjjSVOOOk9oXjJ0/73vR0WE=; b=OlKX7/8ggnc9IdVwUBXOczSN6vE1aGjsuTSW/kyv02YgGREK/FzgSrRs86AMuGcvNi Y42FhgtmEVVtAOO6PXZx5T/0MipGQc7U7YQQI0+EwdbkqqZxTIUyeGONG74MMG93bmQp LmV5JAwcf8Fvz4QuvPRJdbYXPhTuTlrkW0OrsLU6PvXw/rHrxF0GcG1cjXX7ztMTjhjM Rzw9VOExj1K8+05xwg7hLjsTEHvzvQlJtQluE7gpXk2/3GyLO/B7CMB2vixX1nuEWnl1 P6pX2IaMObiwIzsyIuSik8AgW978X2KUGC+7zq71C57IyM97H4n5lPRds0Nj7aIJ8H1d WKxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=09j5Xpbn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u4-20020a17090341c400b00153b2d165afsi22567629ple.439.2022.03.31.06.21.19; Thu, 31 Mar 2022 06:21:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=09j5Xpbn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232215AbiCaHc3 (ORCPT + 99 others); Thu, 31 Mar 2022 03:32:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232196AbiCaHcW (ORCPT ); Thu, 31 Mar 2022 03:32:22 -0400 Received: from conssluserg-02.nifty.com (conssluserg-02.nifty.com [210.131.2.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E521A1DE594; Thu, 31 Mar 2022 00:30:34 -0700 (PDT) Received: from mail-pl1-f177.google.com (mail-pl1-f177.google.com [209.85.214.177]) (authenticated) by conssluserg-02.nifty.com with ESMTP id 22V7UGG0029675; Thu, 31 Mar 2022 16:30:16 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-02.nifty.com 22V7UGG0029675 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1648711817; bh=9Htjky9XkVnyUWia+NbkPjjSVOOOk9oXjJ0/73vR0WE=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=09j5XpbnARkHo1663RYGjwTfTBie0lA6g7DBnrSnRwJB/vkVDQBEJ1Tc08L22nx6Q KuZksZsWTQW4Km9WjQSm4ThFKU6eCc4c8yDaNwx/mmVPH6E18M00WxIdU1pcnS7PcZ VdGaWBPoM8XFvo+PvG0E5CziaPO+nHGQwz8OxS48uSULGDoN/5br05H4R2x6fMembO I1iJY+SB4ICnalDIfkFFQ3fy3rKgjT4heOuIqj14Q6P2K1ao1LiEB8EWBr5+J7/ryS qdGiTO56TWr9c0t4xa4c6aAEM4mVeKIoBR1e5snLBY0TRcODSmCmDORA6gvTWFDGEG TrLUpGhQOSxFw== X-Nifty-SrcIP: [209.85.214.177] Received: by mail-pl1-f177.google.com with SMTP id x2so22632292plm.7; Thu, 31 Mar 2022 00:30:16 -0700 (PDT) X-Gm-Message-State: AOAM531n4e5f9Bpi0v/t6Gz6VS4aPojPRmF+cRMFYi7z6khmIkt8WefZ fKrH7EtwpW8tyJVo8KzhulhA9XlufutR/IOA0BQ= X-Received: by 2002:a17:90b:4d01:b0:1c9:ec79:1b35 with SMTP id mw1-20020a17090b4d0100b001c9ec791b35mr4459174pjb.77.1648711815860; Thu, 31 Mar 2022 00:30:15 -0700 (PDT) MIME-Version: 1.0 References: <20220330201755.29319-1-mathieu.desnoyers@efficios.com> <20220330162152.17b1b660@gandalf.local.home> In-Reply-To: <20220330162152.17b1b660@gandalf.local.home> From: Masahiro Yamada Date: Thu, 31 Mar 2022 16:29:30 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] tracing: do not export user_events uapi To: Steven Rostedt Cc: Mathieu Desnoyers , Linux Kernel Mailing List , Beau Belgrave , Masami Hiramatsu , linux-trace-devel , bpf , Network Development , Alexei Starovoitov , Linus Torvalds , Michal Marek , Nick Desaulniers , Linux Kbuild mailing list Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_SOFTFAIL, 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 Thu, Mar 31, 2022 at 5:21 AM Steven Rostedt wrote: > > > Adding the build maintainers. > > -- Steve > > On Wed, 30 Mar 2022 16:17:55 -0400 > Mathieu Desnoyers wrote: > > > In addition to mark the USER_EVENTS feature BROKEN until all interested > > parties figure out the user-space API, do not install the uapi header. > > > > This prevents situations where a non-final uapi header would end up > > being installed into a distribution image and used to build user-space > > programs that would then run against newer kernels that will implement > > user events with a different ABI. > > > > Link: https://lore.kernel.org/all/20220330155835.5e1f6669@gandalf.local.home > > > > Signed-off-by: Mathieu Desnoyers > > --- > > include/uapi/Kbuild | 3 +++ > > 1 file changed, 3 insertions(+) > > > > diff --git a/include/uapi/Kbuild b/include/uapi/Kbuild > > index 61ee6e59c930..425ea8769ddc 100644 > > --- a/include/uapi/Kbuild > > +++ b/include/uapi/Kbuild > > @@ -12,3 +12,6 @@ ifeq ($(wildcard $(objtree)/arch/$(SRCARCH)/include/generated/uapi/asm/kvm_para. > > no-export-headers += linux/kvm_para.h > > endif > > endif > > + > > +# API is not finalized > > +no-export-headers += linux/user_events.h > Well, the intended usage of no-export-headers is to cater to the UAPI supported by only some architectures. We have kvm(_para).h here because not all architectures support kvm. If you do not want to export the UAPI, you should not put it in include/uapi/. After the API is finalized, you can move it to include/uapi. -- Best Regards Masahiro Yamada