Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp4291961pxb; Tue, 17 Nov 2020 17:13:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJwv8IWz+360B4SNPuAwkrTSrCUxYcWJVDSrPPf84ThBezh7Bu6zgidmUZhahaH2gODoUNmB X-Received: by 2002:a50:ab15:: with SMTP id s21mr23383378edc.88.1605661986895; Tue, 17 Nov 2020 17:13:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605661986; cv=none; d=google.com; s=arc-20160816; b=vkPT0ppK0wYwK55finyOdRaLZB7FWi+2IwdXH39dDjoB7nqhrymaRFmm5wiVWxHrVl RBVLKkbaJp1m8C32aQOlWfVAFiRett6JbgjMxrhhywf+/o1ZLuZ3Rev8SjlH+fJd8qcF 7eaFKNIIerQNLSDYYJbrKJ3J4AxBbkjS2QTOGgS8kzv3Ooc3lFsO58+Wre4CjpYUSS3i KQ9q6+llKmHJSKvJafzIEGdkXZWKEUyPyz/E5/2cwihw4Mqy9/YwDO/lwKCVWwrXvQAT yOr7jl3/lc5tnZUX9UDpBekWxsi7nWY659qH35x9BA/Gljc3AgsIopzdqve8S9AbP11+ NMCw== 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=cHUhDZ6/MP7pOkFInguezs0IV1ZEpZj1UmoMkYmtkcs=; b=lFr7p6r6KqmTYB9LEMmfOWmodyO1RPiuqrSCiW8MPQ5CXzmawoQGu7UX8ngPqAke9e JcmI1n7pBTRww22a7M6PG08hJ3nmzYsCzDDaItfiA//0nrbddBSsDCeT2zrQ9qAhfz8M eSpCuLakGgwUrsQAQoXUAvESKrUV9NY1VRObsXaqACgAQLjSYjUQKeqLj3K8hoN2L4N1 y12xq9J6UIPhEX22iNXvFJo/lQLIjHQriKTz+lFoBgTijuM7kM+QRKueFyEzDMh+EyvY W94uJ4qTpOVPfYq0FWyelGIY/82K3LizoRUgw4/yJ8iGV8iBHZfv50jTT9S4Ogy93IVP Rnjg== 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 u20si14178369ejg.375.2020.11.17.17.12.43; Tue, 17 Nov 2020 17:13:06 -0800 (PST) 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 S1727318AbgKRBLG (ORCPT + 99 others); Tue, 17 Nov 2020 20:11:06 -0500 Received: from mail.kernel.org ([198.145.29.99]:49074 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725767AbgKRBLF (ORCPT ); Tue, 17 Nov 2020 20:11:05 -0500 Received: from oasis.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 8AB01241A7; Wed, 18 Nov 2020 01:11:03 +0000 (UTC) Date: Tue, 17 Nov 2020 20:11:01 -0500 From: Steven Rostedt To: Mathieu Desnoyers Cc: linux-kernel , Matt Mullins , Ingo Molnar , Alexei Starovoitov , Daniel Borkmann , Dmitry Vyukov , Martin KaFai Lau , Song Liu , Yonghong Song , Andrii Nakryiko , John Fastabend , KP Singh , netdev , bpf , Kees Cook , Josh Poimboeuf , Peter Zijlstra Subject: Re: [PATCH] tracepoint: Do not fail unregistering a probe due to memory allocation Message-ID: <20201117201101.366bee30@oasis.local.home> In-Reply-To: <1227896553.48834.1605654499161.JavaMail.zimbra@efficios.com> References: <20201116175107.02db396d@gandalf.local.home> <47463878.48157.1605640510560.JavaMail.zimbra@efficios.com> <20201117142145.43194f1a@gandalf.local.home> <375636043.48251.1605642440621.JavaMail.zimbra@efficios.com> <20201117153451.3015c5c9@gandalf.local.home> <20201117155851.0c915705@gandalf.local.home> <334460618.48609.1605648143566.JavaMail.zimbra@efficios.com> <20201117171637.6aeeadd7@gandalf.local.home> <1227896553.48834.1605654499161.JavaMail.zimbra@efficios.com> X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; 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 Tue, 17 Nov 2020 18:08:19 -0500 (EST) Mathieu Desnoyers wrote: > Because of this end-of-loop condition ^ > which is also testing for a NULL func. So if we reach a stub, we end up stopping > iteration and not firing the following tracepoint probes. Ah right. OK, since it's looking like we're going to have to modify the tracepoint macro anyway, I'll just go with the 1UL approach. -- Steve