Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp5736442pxb; Mon, 28 Mar 2022 17:01:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZutBWJqXZdspa7qEjmFSOlz+ENgYeaZK4QeCxfisXenKW8QmLdFG/smfKOK3zoemf3Xh4 X-Received: by 2002:a05:6830:1bc7:b0:5af:8e92:aff6 with SMTP id v7-20020a0568301bc700b005af8e92aff6mr11257ota.147.1648512075423; Mon, 28 Mar 2022 17:01:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648512075; cv=none; d=google.com; s=arc-20160816; b=U9jlUFawgh9NdlQKsTyKn2vcduaTyX9PyQh+44QYS34lf8QnYCz52Z5S+z4iA2gMAI e0+MPy3GIIn6atbK7wVK3mz7Iuhl3NjL4Ql+BAzhkVZpuzfnK4HXd8PjgDTLQauAzxro cchEmI7TO2hMqrOIxF4moB54NTPAFejB08R55EANYirIHkNsVDmSdBqZc7TujnRaXp6G xwOFdzdBY9Kl5xTyrmMddx1wEN/XVi/C/z+RgO3arf4+btkPxSUlQwRud1n8s3ULHA7r FDVm/Kfd72jtdflCzHtIhkgFkl7WdhQ1vgOFHsOk1eK/ZSeKDfEjp7rTc8ZfCY1NKUn8 mpbg== 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:date:subject:cc:to:from :dkim-signature:dkim-filter; bh=VCBmKOU3bhYrRKyxH/RJtKwil2TxccJ2CJcGM4eyu/Q=; b=wXVVP1C+ftjkCqp6g7rMRRm8FfGB/YCJgDFRi18bBivpckgmzzFUTto3BUh9oFjyLP oZnFv/KjKgz3TmS5xsbHLYWr5qaES/YHb3fTCqxYc7/0wqE1XlANU8XsnPC3EIu/jJBC f6ku2nYrCgxcsEhYyUwPFqTNeGhIpSDM3mnESW92VCV9PjrVT68ktBoPihvtnqXCom+h WkEUHZ4K9VgJnO/hQKFACSd888MHMyY/8Fk0Nm4bFq1KFqJ8D1YZ9NpYSCd+j4pSKrT0 Hf0xc+1oQbNxUuj4YXFSZle8zuwvW8VFU1Rnhx4OivShfjR6n6jQaJYPpfaHaJUkB8US TFYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=noDMiblw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d18-20020a056870961200b000da716e6207si12428127oaq.144.2022.03.28.17.01.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Mar 2022 17:01:15 -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; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=noDMiblw; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.microsoft.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 99F1C49F27; Mon, 28 Mar 2022 16:30:31 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230472AbiC1XcH (ORCPT + 99 others); Mon, 28 Mar 2022 19:32:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230450AbiC1XcD (ORCPT ); Mon, 28 Mar 2022 19:32:03 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9762942ECC; Mon, 28 Mar 2022 16:30:20 -0700 (PDT) Received: from localhost.localdomain (c-73-140-2-214.hsd1.wa.comcast.net [73.140.2.214]) by linux.microsoft.com (Postfix) with ESMTPSA id 2102820DEDDE; Mon, 28 Mar 2022 16:30:20 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 2102820DEDDE DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1648510220; bh=VCBmKOU3bhYrRKyxH/RJtKwil2TxccJ2CJcGM4eyu/Q=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=noDMiblwX6L3HSRCCnVnic33xfGbHmfkE9BfxIdWCOwQZIAEzf9V8AlRBxGPWkf1f RRJleWDD5u/STBlTvRlNOnZQSj0dLyiBOV00pF+DZNA4LRInwY2qIlNjfbgghSrw1g z71ppjoAxGGZF9nJLDxtSf4Tx/uLk31XJYjFnNCI= From: Beau Belgrave To: mathieu.desnoyers@efficios.com Cc: linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, linux-trace-devel@vger.kernel.org, rostedt@goodmis.org, beaub@linux.microsoft.com Subject: Re: Comments on new user events ABI Date: Mon, 28 Mar 2022 16:30:10 -0700 Message-Id: <20220328233010.2636-1-beaub@linux.microsoft.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <1283359416.196715.1648499713041.JavaMail.zimbra@efficios.com> References: <1283359416.196715.1648499713041.JavaMail.zimbra@efficios.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-9.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL 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 Mar 28, 2022, at 4:24 PM, Mathieu Desnoyers mathieu.desnoyers@efficios.com wrote: > > > Hi Beau, Hi Steven, > > > > I've done a review of the trace events ABI, and I have a few comments. > > Sorry for being late to the party, but I only noticed this new ABI recently. > > Hopefully we can improve this ABI before the 5.18 release. > > > > Also a bit of testing shows that dyn_event_add() is called without holding the event_mutex. > Has this been tested with lockdep ? Sorry, looks like I've been running with LOCKDEP_SUPPORT without it on :( I now have both CONFIG_LOCKDEP and CONFIG_LOCK_DEBUGGING_SUPPORT. You are right about this, thanks! I've sent a patch. Link: https://lore.kernel.org/all/20220328223225.1992-1-beaub@linux.microsoft.com/ Thanks, -Beau