From patchwork Fri Jul 12 13:52:28 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jiri Olsa X-Patchwork-Id: 13731812 X-Patchwork-Delegate: bpf@iogearbox.net Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 A795226AFF; Fri, 12 Jul 2024 13:52:58 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720792378; cv=none; b=uoz0BIccXECNQ+LKwx5BBBA6MdVUYjSd6ESOiVCwXj7iwl6+VNmFZeHWBLlwpawvAb/0pWErNsMLjGdO2BIl0AEEnqGBn1ovtWWXKrpsIDRzyFS7owxK/llET4Rs8eox0+I/Uh09VwQAkwbktvA9MNEGo36I692WdXtoUG1hbsE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1720792378; c=relaxed/simple; bh=R9G9wwPftutPeaaExTJ6lpEMwJ9MWKMZZnuGnq3/zxk=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NcgRcZCTK2C7r+7phf1YHv0FJFYQJg1oI/H8ANS6KJqrhNsTQHGCBvbfzSqh7Ix3gQdUJ2LX/9gMUfA3tQ7SGn36Fw5OmMpKjWn5T8Ngu+P83YGzv0Lp/cwhLgszefLLSIOiv+8b9eJHJ1DQH9KKDyzIOwi+23LNO5VVWxMLXSg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=l7/JyyFG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="l7/JyyFG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDAF3C32782; Fri, 12 Jul 2024 13:52:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1720792378; bh=R9G9wwPftutPeaaExTJ6lpEMwJ9MWKMZZnuGnq3/zxk=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=l7/JyyFGRzRJk6RiHso3Yw8FRyAiuQtYOWdEVk4e0EblvsrsT7DNWkQ0yQR1sW4wm 7vlJZmN6CWDXj0hA5w7X25WMWt/p2AWUChOtYW9tJfGNROFTRTor1uudfwCzLBgeLp +JIPsataZdsdeeArLNAQS2OASb6d/j7oLd4ogtYWhXj0gmUZv6dyYiy8FPbc6AoX1K VsdId2oll5FXCvi2rw9DT+px/Ad38i/0nnURMjepA35/sqxmotAdu4TqxnmqLlG94l r95UgJoHaMSMt667314RhybeZ71BbMy94UEhVLOMOnad+V8STICWHaOSQXDMmcywUx kB1GCbtTa58FQ== From: Jiri Olsa To: Steven Rostedt , Masami Hiramatsu , Oleg Nesterov , Peter Zijlstra , Andrii Nakryiko , Arnd Bergmann Cc: linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, linux-api@vger.kernel.org, x86@kernel.org, bpf@vger.kernel.org, Thomas Gleixner , "Borislav Petkov (AMD)" , Ingo Molnar , Andy Lutomirski , Deepak Gupta , Stephen Rothwell Subject: [PATCH 2/2] selftests/bpf: Change uretprobe syscall number in uprobe_syscall test Date: Fri, 12 Jul 2024 15:52:28 +0200 Message-ID: <20240712135228.1619332-3-jolsa@kernel.org> X-Mailer: git-send-email 2.45.2 In-Reply-To: <20240712135228.1619332-1-jolsa@kernel.org> References: <20240712135228.1619332-1-jolsa@kernel.org> Precedence: bulk X-Mailing-List: bpf@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Patchwork-Delegate: bpf@iogearbox.net Fixing the syscall number value. Fixes: 9e7f74e64ae5 ("selftests/bpf: Add uretprobe syscall call from user space test") Signed-off-by: Jiri Olsa Acked-by: Andrii Nakryiko --- tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c b/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c index c8517c8f5313..bd8c75b620c2 100644 --- a/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c +++ b/tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c @@ -216,7 +216,7 @@ static void test_uretprobe_regs_change(void) } #ifndef __NR_uretprobe -#define __NR_uretprobe 463 +#define __NR_uretprobe 467 #endif __naked unsigned long uretprobe_syscall_call_1(void)