Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp3788831rwl; Sat, 7 Jan 2023 05:59:44 -0800 (PST) X-Google-Smtp-Source: AMrXdXtOjgRV9Jm4Bh+ajSwk2U5XdTZ+GInAYmCJcpiyTqiBx2+93h94eILJkIMFRVto1U5a+wfK X-Received: by 2002:a17:90a:df8f:b0:226:bea0:2816 with SMTP id p15-20020a17090adf8f00b00226bea02816mr11765962pjv.36.1673099984751; Sat, 07 Jan 2023 05:59:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673099984; cv=none; d=google.com; s=arc-20160816; b=RH3MCjvRy9HVjOXeV667iWKT2q2hXJUAcygVrYTAsQO+ZX7nDseO6CNU3PcKa2jB8T 9G/2f6P8DTigxY4n1rrYs+PTRgCVb8kWFCrtRxmnfIGXoALH/RH3DcR0l16+noRVktBI iB5Sy5k51qAkPAs+PZN3PG7gUO8uHEemlhgvC19OFi3yaNElwNrLtcoxhWvjo+QYhivH e/E3FatRIhq7wbqpxaoluHs6/VyRPe2EWMf/2nJtWroyplCMWCEhXWDMuyBCqTRkrivr 35FpQNq0exjTeQ6dqCqZjHWM13lFHfSONHmy+SqJi8n2O5M5wuGzEqt6TlYz9kQ9RMbf 4oNw== 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 :user-agent:message-id:date:subject:cc:to:from:dkim-signature; bh=n/+4L7mAdMbhy8qXnxgZ3V/3ufCT8xqJDEF1JLYr4ck=; b=IBdPuIpsYveAhdG+WkkFrt66w9idOHDFy5O7QebyMcMIPO7UBTE0V8ljAXiLz66va5 9P03WLjkQODw66IWI2XVHTr07oj40VRXrJ57jaN4A+Io1Kc9UshpuWalXbXtwHef53Qg 8UBEMzOI20RcrAdwJwKWBk69zHD07nWMhvUs5kXRYxA0TgtkjaveWitVYsjzTZeK2q5b 0GwdOXeE/sME7dCGsGcIgspcoHtB5TQxw3Wcu+6Y6+h1b+qeaYZPz0kzYRbc5Lwgf4Xn AfnXILGbfFyD3YA9exw4pOOOzghcT11vqWdQ9VSTnoHoomg/5zbLCRHD+quFyBu3/c5Q j4Nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nYTcphcF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id il16-20020a17090b165000b0020a66fc1398si8789784pjb.91.2023.01.07.05.59.34; Sat, 07 Jan 2023 05:59:44 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nYTcphcF; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231759AbjAGNcJ (ORCPT + 55 others); Sat, 7 Jan 2023 08:32:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229475AbjAGNcI (ORCPT ); Sat, 7 Jan 2023 08:32:08 -0500 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2D17C5B17E; Sat, 7 Jan 2023 05:32:06 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id D7ED1B810AC; Sat, 7 Jan 2023 13:32:04 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DD0A3C433EF; Sat, 7 Jan 2023 13:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673098323; bh=/hMzieqMHtR6JL4OjdNz+jKYqIqXve8DlL6+sdK1Zp8=; h=From:To:Cc:Subject:Date:From; b=nYTcphcFaaiv8O0/i/lFw29bgNkIjCxdNE2l2Uita+0docZBafbt2ajhEYjybEXsZ vMzXUVj+ZBLxy0M99RXAYemqMMmnJZdV3JoNMuvqs+A+HgOXYJOW3g2TIqyOkbsH1D NHb/RK+wRJ34usc5cczOwszVxqzOgYtRK3OkW81Y/7H9OW82mcC7cjcGMVRcRs24f5 R1YKqwjCRlul+Ae5lbTUvNftEtsAgM7psqjieiEAOBLTzfojKZICcmdUCOdsGPt74N 9U3Jl3AyyQs9fjGOihNo3f4VM8G2d5UHkLHpIadyWogvVYpd35U/gcy8sP+uSR2tnw 5EDsXAV4qvZFg== From: "Masami Hiramatsu (Google)" To: Shuah Khan , Steven Rostedt Cc: Masami Hiramatsu , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org Subject: [PATCH 0/3] selftests/tracing: Fix some testcases for recent change Date: Sat, 7 Jan 2023 22:31:59 +0900 Message-Id: <167309831957.640391.3123812522556713267.stgit@devnote3> X-Mailer: git-send-email 2.39.0.314.g84b9a713c41-goog User-Agent: StGit/0.19 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham 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 This includes some patches to fix 2 issues on ftrace selftests. - eprobe filter and eprobe syntax test case were introduced but it doesn't check whether the kernel supports eprobe filter. Thus the new test case fails on the kernel which has eprobe but not support eprobe filter. To solve this issue, add a filter description to README file [1/3] and run the filter syntax error test only if the description is found in the README file [2/3]. - Recently objtool adds prefix symbols for the function padding nops, and the probepoint test case fails because this probepoint test case tests whether the kprobe event can probe the target function and the functions next to the target function. But the prefix symbols can not be probed. Thus these prefix symbols must be skipped [3/3]. Thank you, --- Masami Hiramatsu (Google) (3): tracing/eprobe: Fix to add filter on eprobe description in README file selftests/ftrace: Fix eprobe syntax test case to check filter support selftests/ftrace: Fix probepoint testcase to ignore __pfx_* symbols kernel/trace/trace.c | 2 +- .../test.d/dynevent/eprobes_syntax_errors.tc | 4 +++- .../selftests/ftrace/test.d/kprobe/probepoint.tc | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) -- Masami Hiramatsu (Google)