From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net [23.128.96.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7320815AF5 for ; Thu, 19 Oct 2023 09:25:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.microsoft.com header.i=@linux.microsoft.com header.b="rwQiAf1Q" Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3E281A3; Thu, 19 Oct 2023 02:25:32 -0700 (PDT) Received: from pwmachine.localnet (unknown [188.24.154.80]) by linux.microsoft.com (Postfix) with ESMTPSA id 9A86120B74C0; Thu, 19 Oct 2023 02:25:30 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 9A86120B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1697707531; bh=AI1qBykrpVmfzjirY+qLYP+PIjRlyk/G8w7WrSnBnFc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rwQiAf1QcE9x2Q6L5miT2oB1ixIB3a0vuNm8wW0LH7ypMdauTsMRYpMq5YqAbHBfL K4uS2HifvX57VkIsJpARq4KxGGsCIV7k+jpvArArQsKgEfTpTJRLbMtxaWk/JqpQlq TongDoQtgsNkJ96WRNMVjvewn3Ij3xurc6lhUk+0= From: Francis Laniel To: Steven Rostedt Cc: linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , stable@vger.kernel.org Subject: Re: [PATCH v5 0/2] Return EADDRNOTAVAIL when func matches several symbols during kprobe creation Date: Thu, 19 Oct 2023 12:25:27 +0300 Message-ID: <2703022.mvXUDI8C0e@pwmachine> In-Reply-To: <20231018130042.3430f000@gandalf.local.home> References: <20231018144030.86885-1-flaniel@linux.microsoft.com> <20231018130042.3430f000@gandalf.local.home> Precedence: bulk X-Mailing-List: linux-trace-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" Hi! Le mercredi 18 octobre 2023, 20:00:42 EEST Steven Rostedt a =E9crit : > On Wed, 18 Oct 2023 17:40:28 +0300 >=20 > Francis Laniel wrote: > > Changes since: > > v1: > > * Use EADDRNOTAVAIL instead of adding a new error code. > > * Correct also this behavior for sysfs kprobe. > > =20 > > v2: > > * Count the number of symbols corresponding to function name and retu= rn > > EADDRNOTAVAIL if higher than 1. > > * Return ENOENT if above count is 0, as it would be returned later by > > while > > registering the kprobe. > > =20 > > v3: > > * Check symbol does not contain ':' before testing its uniqueness. > > * Add a selftest to check this is not possible to install a kprobe fo= r a > > non unique symbol. > > =20 > > v5: > > * No changes, just add linux-stable as recipient. >=20 > So why is this adding stable? (and as Greg's form letter states, that's n= ot > how you do that) Oops! Really sorry for this, I will correct everything for the next version! >=20 > I don't see this as a fix but a new feature. You mean I should add a "Fix:" in the commit description? >=20 > -- Steve Best regards.