Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp3934290rdg; Wed, 18 Oct 2023 09:56:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0rRpCiCoZ8Myfe5MLn0LF/YIOGHcabHZJ1zRtDTetETcwlg1E4NVvES3h6pO6CsAC5xur X-Received: by 2002:a05:6871:3144:b0:1ea:7c8a:c9dc with SMTP id lu4-20020a056871314400b001ea7c8ac9dcmr6289788oac.26.1697648179842; Wed, 18 Oct 2023 09:56:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697648179; cv=none; d=google.com; s=arc-20160816; b=V+ZOXaPE03CsItmjgFEiAtMO1v6OSk76eFBaehYrmd994z4zk+BWqgKuxxDjHLiyLL +UNRFPzJOi48cLxWpAhce4Aacns+u8bKuvjTA64L9oF7JllvSCfKWtMnPi07jXIcbOIw pisBUplPWMC+UZ36pytHlB2USkHTDCGOcecLYYdKpNQWof7MT5eDJVvvaDvo6IjhI1zY AV5Oakj7rNhkk9EuNCWFrVnUmmikgT2KrUBoMqfi+S/drHqT1NXK2dRPCXRXaJgnbpf4 CeHg1ifZG+zRzlXRDx7Kma4Bjhgb8GAck4zX4eK0pQt+fGvLPxkRKQkKQozkIp/BtaeL k46A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=mr3QFXEoi/iuJ0kX4HKRABabaNS9lODcJDzFNfPk9Ik=; fh=OSLtkv5+ygIJRKFGNvto9FjglDIeekZqv3KBA24/t88=; b=orSPLt1eMBYwti9GRrvv70L5Bj7L6oymtkogFS/qLP7XB603ytyJAUTt2JHOWfMAEZ lUcKIPotxhbhYmL4J9nKf4cbWVBuoLy6Se81xUOQWL2SkEap3ZtFMNygwcmIiGt3JVI0 lvTvn5GDhlhA+L7EccNBmnTgkGkXUATjonHPDdpjoWQMxi5r9fg3mwuwAEygsrZztzlb 01qQ3KQXBOvRVHm0vn3u1WbAM2m6h+bdwGe5+J//3LFpFHuuJ0qG2E6r4JiaqwKoYVHf fEUQh9Gl/ItUNcfYeGEsu5q3FeHz/qfn4y+ZC46ZATcvA7mEzt3qavexasT/W877WJdb et4Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wm4nKJwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id bn14-20020a056a02030e00b0055e607f1e99si2607004pgb.882.2023.10.18.09.56.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 18 Oct 2023 09:56:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=wm4nKJwn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 259E2808726F; Wed, 18 Oct 2023 09:56:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229846AbjJRQzz (ORCPT + 99 others); Wed, 18 Oct 2023 12:55:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44644 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229482AbjJRQzy (ORCPT ); Wed, 18 Oct 2023 12:55:54 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE03B106; Wed, 18 Oct 2023 09:55:52 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC8DBC433C8; Wed, 18 Oct 2023 16:55:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1697648152; bh=6Hk7cRZC8TgK8G/kxiYzsGWB7/fl5io/F1SVkvui04I=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wm4nKJwnmDHFE8qeQ0f4/A9pUJJ3LalkQzT9hhfEGDZBNcFUbGV/iXAWb3ccTGzta cxMsOXqtjz0Ns42jm5rhFtFCrcsuZznpuJLAq0/Z2TfXJeICK6VizaFPtzA3mijUDH WK6eyJWbJnfIQ8poRiMDIUUGtJ9sFzRcA0JvxeMU= Date: Wed, 18 Oct 2023 18:55:43 +0200 From: Greg KH To: Francis Laniel Cc: linux-trace-kernel@vger.kernel.org, Masami Hiramatsu , stable@vger.kernel.org, Steven Rostedt , Shuah Khan , linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: Re: [PATCH v5 2/2] selftests/ftrace: Add new test case which checks non unique symbol Message-ID: <2023101836-comprised-wreckage-77d7@gregkh> References: <20231018144030.86885-1-flaniel@linux.microsoft.com> <20231018144030.86885-3-flaniel@linux.microsoft.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231018144030.86885-3-flaniel@linux.microsoft.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.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 (howler.vger.email [0.0.0.0]); Wed, 18 Oct 2023 09:56:17 -0700 (PDT) On Wed, Oct 18, 2023 at 05:40:30PM +0300, Francis Laniel wrote: > If name_show() is non unique, this test will try to install a kprobe on this > function which should fail returning EADDRNOTAVAIL. > On kernel where name_show() is not unique, this test is skipped. > > Signed-off-by: Francis Laniel > --- > .../ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc | 13 +++++++++++++ > 1 file changed, 13 insertions(+) > create mode 100644 tools/testing/selftests/ftrace/test.d/kprobe/kprobe_non_uniq_symbol.tc This is not the correct way to submit patches for inclusion in the stable kernel tree. Please read: https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html for how to do this properly.