Received: by 2002:a05:7412:1703:b0:e2:908c:2ebd with SMTP id dm3csp3978021rdb; Wed, 30 Aug 2023 11:33:59 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFrkSk5Y/O+zCs68fH4rcgUMIRqAa4dQ3m8YvEPOixnEbExa/64pZarYovgUe3+QHmJ7zuq X-Received: by 2002:a05:6512:e95:b0:500:b9f3:1dc4 with SMTP id bi21-20020a0565120e9500b00500b9f31dc4mr2496777lfb.68.1693420439259; Wed, 30 Aug 2023 11:33:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693420439; cv=none; d=google.com; s=arc-20160816; b=NmlVPofeyH+9Bwhx5N+oIzXo53yU7s/2O9QyRbhu/IilAq2H+QhHRNToixu4y+t2Ul x8iBspfGYO1kQkAThf+44SlopWsBttuHeWhgGZmWisk97hadp2IAAE8/9FA24KclLEFJ hX1+2XULE6L3BWcKBs9AnuAQTqL4ZY+FRjIrkV87O1pSl48+HO3eYifqMY5FfYA8HWau oLRN4uVtiX8NO6HHq5+oE07Z2PDXeY4mfi5ufGg151UxanR2oIBy3lCh+dntpSpHh3Zd TAT0p7wSnVxpOo68sGGRR+kjry4xT645XmkxwuQeRIIShAshH4Zbq2ZRWU3Cs2dSxNnV FGeA== 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=Gd9gmiaylmTp3v5NUZ9FIXcLypm7omQdBX4qtd5wlPc=; fh=CBUKYGnnveXVP0jQBeL1TfJezeiTeIO1KlilO94MIbk=; b=nwXBGFpk2iwkiZWGUrKCjwHBUqNI5BD6mNmxSrvaCc58AdsMN2YxdFcpgPSR83Xg5/ vA7POzjpyf080oO3p4VhSRySboscdda9A5PE2iw8OsSh4UyzxpIeKb8fc3VWJsnm4cmB Qto+QOcYXZetw5NPSRu/teqFB5g7klBV8ZsuryyOmk/lhro7tFyIfuYByzPg4dzd4SjT SnYJMF4E/V1bLLjQCTBtDQ+Wfgu6UzzHOnM8nuJsickf/U0wL/T+QcdyHPxgViftQjGg 0ZD/sbuF7m5k84991KH37LmcXeWcfY3IaZeM4PS7i+NSIk+ELhIq/LcYTj438IGh9lbf vWDg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l6-20020aa7c3c6000000b00525702062f4si7911725edr.401.2023.08.30.11.33.31; Wed, 30 Aug 2023 11:33:58 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235192AbjH2X5o (ORCPT + 99 others); Tue, 29 Aug 2023 19:57:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47484 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235167AbjH2X5Z (ORCPT ); Tue, 29 Aug 2023 19:57:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28E0D114; Tue, 29 Aug 2023 16:57:23 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id AA5C160DD5; Tue, 29 Aug 2023 23:57:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8A989C433C8; Tue, 29 Aug 2023 23:57:21 +0000 (UTC) Date: Tue, 29 Aug 2023 19:57:19 -0400 From: Steven Rostedt To: "Masami Hiramatsu (Google)" Cc: Francis Laniel , 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 Message-ID: <20230829195719.0eaf9035@rorschach.local.home> In-Reply-To: <20230825221321.faaa33e03afc48abc345c24f@kernel.org> References: <20230824160859.66113-1-flaniel@linux.microsoft.com> <20230824160859.66113-2-flaniel@linux.microsoft.com> <20230825211649.188a81321f00297ec161a046@kernel.org> <5704161.DvuYhMxLoT@pwmachine> <20230825221321.faaa33e03afc48abc345c24f@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 X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS 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 Fri, 25 Aug 2023 22:13:21 +0900 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? > > 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. I prefer this to be a Fix and backported. Thanks, -- Steve