Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp992736pxb; Wed, 27 Oct 2021 16:57:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxPRIs6zmyYQMT2Yx5E70/XZ9PWlyqzIeiFt2Q/1oX3AU9/NnTHZc4tYvR4GZL1AaZpmK09 X-Received: by 2002:a17:906:3a0e:: with SMTP id z14mr941367eje.55.1635379028557; Wed, 27 Oct 2021 16:57:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635379028; cv=none; d=google.com; s=arc-20160816; b=KHVyaoT8xLf1KHa4DaZD4iaWNyLEAu8GpyWCJoBGOmQYbPP1g7vQesvzZdk88UbFNE EyaQmGJOQUpKt3quvgrSucj2cGWhzMfOUtTJd3uyE1BsMMhuL/1fsEYo/X8SIFIVR+07 n7JVr5SuV8Rs1iwfi4uh7HGKgpo70G0EESxcN2ixTd8uuuexfWpesEY0xQ+2scKJu8bo EeKA0lqUpRBLdUP5uetIVxRbYj6IFauK2WUz17+IP2aZQbkHLRskk4WOnozRqrgZIfK3 U1dugsjrZP8cXQJlelnvwBvLKiRi1SC/to+X0oU0x3E0zhO9b1UqNnmIgj+5bBgXjN4g 1Vyw== 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=n8896KW5nf6KibI+hfPlCXmNRIwDyAbTwqxfasVXRwE=; b=uFbjIL5UuMoJlxv8dgztImnAC8+jVwNXg5SXbEXW9PsoNsgnrxPn6CCERE8dNeZGTx J1xLl+m52VPzsHDNmFFA2HzinnBJPrG6dDXgieIHdFMec1SEs3T74UE4oF22Sgty9QdC xuOnJLVOqf9HCORdB0e8YROuIIxu0nu+TJTKZTVSchYPQY2UgySv3We4pYxOVemXnFxd dhTYAIWYm53DO8bo4WCiZBJRS0Z2/36LQC4W0kNKVNNerW3M/rG2a/Tkl/ex8EWP9Bda HNoI+oRkyqETVOlaLX8uOY3TdxtnYLW8W2wVAQ9ni60/AL/koS6ucAMq4yuLdt/kPIf/ 4Csw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u1si2010713edp.348.2021.10.27.16.56.45; Wed, 27 Oct 2021 16:57:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229624AbhJ0X5Y (ORCPT + 99 others); Wed, 27 Oct 2021 19:57:24 -0400 Received: from mail.kernel.org ([198.145.29.99]:45364 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229614AbhJ0X5X (ORCPT ); Wed, 27 Oct 2021 19:57:23 -0400 Received: from rorschach.local.home (cpe-66-24-58-225.stny.res.rr.com [66.24.58.225]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id E414660F9C; Wed, 27 Oct 2021 23:54:55 +0000 (UTC) Date: Wed, 27 Oct 2021 19:54:54 -0400 From: Steven Rostedt To: Kalesh Singh Cc: Masami Hiramatsu , surenb@google.com, hridya@google.com, namhyung@kernel.org, kernel-team@android.com, Ingo Molnar , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH 2/3] tracing/kselftests: Remove triggers with references before their definitions Message-ID: <20211027195454.60993c83@rorschach.local.home> In-Reply-To: References: <20211027205919.1648553-1-kaleshsingh@google.com> <20211027205919.1648553-3-kaleshsingh@google.com> <20211028065849.76b1bd7151e440881298b523@kernel.org> 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 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 27 Oct 2021 16:26:00 -0700 Kalesh Singh wrote: > > Why don't you use 'tac'? I love that idea :) > > Did you find any issue? > > Hi Masami, > > Thanks for the reviews. As with the first set of patches using tac > gives a regression here, though I'm not sure why it doesn't work -- I > also thought reversing the order would handle any dependencies > correctly. Right, because are triggers not added by list_add_rcu() which adds to the head of the list. If anything, shouldn't things be removed in order? -- Steve