Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3846859rdg; Wed, 18 Oct 2023 07:43:56 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHHxZ/FwV+/Lh/5ZH4+VOZG2sSujhGG56DTOqdFcVN3BCSw4I2zXies/n57Ew0MzrHTZMNo X-Received: by 2002:a05:6871:8782:b0:1ea:21cc:67f3 with SMTP id td2-20020a056871878200b001ea21cc67f3mr6738313oab.4.1697640236535; Wed, 18 Oct 2023 07:43:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697640236; cv=none; d=google.com; s=arc-20160816; b=gyp1dj4op40kNcgDGjBh0WmmZ1puIYNpL8T2m+zbljSyKasIpLowh1YehUxuuARy5v F+b0ykGXP4GbigTOPdGFz0jJoUC3zx6qUMjgrCARgiQ3M9v8Ml+XvoanVeSjAEMxnDyh PmzKzH2nTtFFe4fkweOdI4St3qGU7KejgcUZ2gN6vibV/hxvfn33IRQDnDsRzNtm480d y82lsC4myBKRvDImuQiO99HvTZBzO6j90ktqbzHfEr0ipZvLL8eK6/b3qO8gZ9VCi83v 7Ber7t6iisfYVx5Y2wWWjcYfOfQ/RZJAKNYLNIcB52ayCSGI2pfulW/YC4bBFjrgGZH6 sf3Q== 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=bvtQ5UDBEoNT88kyfFrFdb/L/EOTCSplYYH3p4SHGNY=; fh=UrO3yr6Fpsz7Om6nMYyTArpQbIK3wio3vVbFXLWhVpI=; b=L66sc52JoR7QYkwCTA4++pD188XF5UEztMjnqil/yokYB6/0bAMuvMbUg1jC8uZJlJ C+g5GPwbvO1QZuhLgbG7dUlySBU3e4Kmu7SOsl5PkbbgkZxlT/9Ov74oJsY+Z11H2cJp ju6oGzu+yeZXHWuqGONScZpIDZrN+aoRELMnqxi6RRTmzuKOHZU4E+S6+UtjTh+LmNHL uGqDG15Z4IQTaiKoi+oryNFkJvb0bF5+IT1SG3Wk/AkAbsA/dXs2OHQmWCPTpREMZ3EB vMjV91ig9PhVnGLbNhcv+xtdp+CipM+e0/4HdD5udJnxmIRjhdhgyQ02JriDFdDIdGI8 Ux3w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=Z3Eam9Yb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id i75-20020a639d4e000000b005a1d8815ec0si2230886pgd.37.2023.10.18.07.43.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 07:43:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.microsoft.com header.s=default header.b=Z3Eam9Yb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 323C781DE68E; Wed, 18 Oct 2023 07:43:54 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344908AbjJROnn (ORCPT + 99 others); Wed, 18 Oct 2023 10:43:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231984AbjJROnn (ORCPT ); Wed, 18 Oct 2023 10:43:43 -0400 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id A206895; Wed, 18 Oct 2023 07:43:41 -0700 (PDT) Received: from pwmachine.localnet (unknown [188.24.154.80]) by linux.microsoft.com (Postfix) with ESMTPSA id 3C3C020B74C0; Wed, 18 Oct 2023 07:43:39 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com 3C3C020B74C0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1697640221; bh=bvtQ5UDBEoNT88kyfFrFdb/L/EOTCSplYYH3p4SHGNY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z3Eam9YbNcBAkTp8qQf6XTj3bQQGw+5fIpC8uHajKjgB5VgpXcApBhaEGCi0pGyYa vPW/Tt3qMm0BJABNCVBZnZQhqYy1DoAF1YUL4KpxqbVSNw8B9OhddWKtY5ZmUw56GT C17+b/E3eXIp65QTIb/LCnutEnuW2b839IH+zJiY= From: Francis Laniel To: Masami Hiramatsu Cc: Steven Rostedt , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org Subject: Re: [PATCH v3 1/1] tracing/kprobes: Return EADDRNOTAVAIL when func matches several symbols Date: Wed, 18 Oct 2023 17:43:36 +0300 Message-ID: <12305596.O9o76ZdvQC@pwmachine> In-Reply-To: <20231018153020.fac28cf4381b57e179104b02@kernel.org> References: <20230824160859.66113-1-flaniel@linux.microsoft.com> <2696412.mvXUDI8C0e@pwmachine> <20231018153020.fac28cf4381b57e179104b02@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="iso-8859-1" X-Spam-Status: No, score=-8.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_IN_DEF_DKIM_WL autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Wed, 18 Oct 2023 07:43:54 -0700 (PDT) Hi! Le mercredi 18 octobre 2023, 09:30:20 EEST Masami Hiramatsu a =E9crit : > Hi Francis, >=20 > On Thu, 31 Aug 2023 09:14:55 +0200 >=20 > Francis Laniel wrote: > > Hi. > >=20 > > Le mercredi 30 ao=FBt 2023, 01:57:19 CEST Steven Rostedt a =E9crit : > > > On Fri, 25 Aug 2023 22:13:21 +0900 > > >=20 > > > Masami Hiramatsu (Google) wrote: > > > > > Excellent catch! Thank you, I will apply this patch and send v4 > > > > > right > > > > > after. Regarding test, do you think I can add a test for the > > > > > EADDRNOTAVAIL case?> > > > >=20 > > > > Hmm, in that case, you need to change something in tracefs/README so > > > > that > > > > we can identify the kernel has different behavior. Or we have to > > > > change > > > > this is a "Fix" for backporting. > > >=20 > > > I prefer this to be a Fix and backported. > >=20 > > This makes sense, I will send v5 to stable mailing list too! >=20 > I missed this a while. did you send v5 ? I could not find in my mbox. Sorry, I took a bit of time before sending the v5 as I wanted to wait for=20 Alessandro patchset to be merged first. As it seems more work is needed on his contribution I think we can go with= =20 this fix first. > Thank you, >=20 > > > Thanks, > > >=20 > > > -- Steve > >=20 > > Best regards. Best regards.