Received: by 2002:a89:413:0:b0:1fd:dba5:e537 with SMTP id m19csp1455167lqs; Sat, 15 Jun 2024 09:19:28 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXH312DBB3+WtRX2XpgeuOLSBG62zaN8lCFo1wrmWO6Jiqco1cuEyOGY0hDv89mko4vYx55FT3UFBdPxP4MP8SjTynNwcn0G+bGhZgaug== X-Google-Smtp-Source: AGHT+IFT5ydWQtSuuDtbdB9od6hpSJLfSjxwg3Sf5844Em+9ZqST2czQoe/r7oOkSEGzPvzHwWsA X-Received: by 2002:a0c:db14:0:b0:6b0:732f:b92b with SMTP id 6a1803df08f44-6b2afc6f578mr52947986d6.12.1718468368465; Sat, 15 Jun 2024 09:19:28 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1718468368; cv=pass; d=google.com; s=arc-20160816; b=rIgsENZY1Rux/YaXrn2F8ZE412CX6KLAivt7IYgwmCVMZ6BlFTxWI6OIz2MTASpzJj zxqmwJVu1fX73GyF5AabIPtynVjIFvjkOGFXh1HNVcpMF4APYM4MOeC0B6f+pCBa+I0R eMI5/OOF7c3vROtvCLg9Co8yuJrV5Kjd4EcKrKx6OnDmve8Ovy5fYy9oYcyrsCmrrsYr TRYBnH2pR6N00ugWCd4eUhSqG/iOuc2TjZqj2O9OIXkoVIfMGNp3L2mB+Z+QAIE1Lv6F Xj7cdUU4iav9L+oE51axIvkuWvIpB9w7ZNf195s+4PONxBTm2zFrpv+/3zT4GXlR8+sN KY6Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Hp4Xmv7MySS1HZVSJQ3m8fFA5dDbRR8Nrj9NOD9Tizs=; fh=GWrhUEZRHeSLApwHuwUejYIftd/ePCDqiyh54fKlLhg=; b=sUP/Te7wdgbWGKkq3gHkLxL140Oy2ITY0inX1I6m4s5yshGKPkWWw+1k9YNpAGviDP j06nOcvpKVNweqrzciMmn65ENEBu8vabGHWjmyQHFbbT3ceewqnd0TDwWGDwkMNUst51 b7NmqttqufWNYfz99nZsv3EzyuxlXstdtMItI6ZfNOIKLsTh0yX8ULQHeaK8YnlFCzk/ 0SCGusA2JxnZ3tfYM4+p9wyzD9PlF4jXFLJsBQwTbPB+yE/9ZkkD8ANTJlUu6Fe+5mlJ hMM5+P/KjtS29VPWIA7QkGXDwphiJBM0Fpcqx58r0mGoJ5B3XaUf+ww0ceHNU7IGPFDZ 08MA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U4TPJlGX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-215931-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215931-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id 6a1803df08f44-6b2a5b8256asi63783706d6.530.2024.06.15.09.19.28 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 09:19:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-215931-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=U4TPJlGX; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-215931-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-215931-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 15E601C20A2E for ; Sat, 15 Jun 2024 16:19:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id AD15C4596E; Sat, 15 Jun 2024 16:19:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="U4TPJlGX" 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 CDE269479; Sat, 15 Jun 2024 16:19:16 +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=1718468356; cv=none; b=QKwoPNYTBhbcREyj4j9N8eLLI+9SdhgVPz7Qre+i2wkm7r7jzbspBR5YhJ3YMkOZldMdaGDQJ4N63MuGO/CxZC/LlRGLL670SBe2aCwRcwQiLf0jJTY+vhUYJvWv8aM4dsz4HBrbZmDnQwdAX81XM0xG60lEn5hRhXgraBKYAQQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718468356; c=relaxed/simple; bh=CCQHT7qL3hTXSW7GsRCm5NhpUoN64iEeI1XErSqpBDY=; h=Date:From:To:Cc:Subject:Message-Id:In-Reply-To:References: Mime-Version:Content-Type; b=Zbp/MG1wQ5Ef6xsHxHjaPC89BYRNtLdo0IxYeTY6yfMNHnwb2qT7IEqIJKdBzCHpUqKynHUT8VL2XdEKKQqxXPcCFuJ3PGUSDxt/wPhR3LCmY/RedqCJh0iZev6RaL4PcEfj176jtuCxMJBLpVP5CnvNQNxoZcK7E5Wja6fF4ZY= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=U4TPJlGX; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1920FC116B1; Sat, 15 Jun 2024 16:19:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1718468356; bh=CCQHT7qL3hTXSW7GsRCm5NhpUoN64iEeI1XErSqpBDY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=U4TPJlGXQ0D0gvdEqCgdd6lqPHItb/bWNzOJFGiFobFZsuUwmc6HV+Jk1/0B4bN2r hgTfAOzgkcDjA8j0ZNTJae9bvZOffO/e46kgcJdsTTfbSrOMDtvMMskFPwrPTQO84H lEqjvZybNNByanLsCW0lgQy8KANBowsllZ4GoLk3r9BL2ao/9xy6hvQFpi4Y4LExXk 5D4s/6STqJAJpEQwzcTF5QQkXlrjsElxRvvXDBDbjOLluL7Y0+j8dAcIgMtIVZHUEA sZRrIOXMT3k03Pew78ggwF6s+l7QozjZGbUfqAjzryx56eWK2GPTBZg2VBmohCW+1e E8hzfd+bXt6OQ== Date: Sun, 16 Jun 2024 01:19:11 +0900 From: Masami Hiramatsu (Google) To: Masami Hiramatsu (Google) Cc: Jiri Olsa , Steven Rostedt , Andrii Nakryiko , linux-kernel@vger.kernel.org, linux-trace-kernel@vger.kernel.org, bpf@vger.kernel.org Subject: Re: [PATCH] bpf/selftests: Fix __NR_uretprobe in uprobe_syscall test Message-Id: <20240616011911.009492d917999c380320fd1b@kernel.org> In-Reply-To: <20240616001920.0662473b0c3211e1dbd4b6f5@kernel.org> References: <20240614101509.764664-1-jolsa@kernel.org> <20240616001920.0662473b0c3211e1dbd4b6f5@kernel.org> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Sun, 16 Jun 2024 00:19:20 +0900 Masami Hiramatsu (Google) wrote: > On Fri, 14 Jun 2024 12:15:09 +0200 > Jiri Olsa wrote: > > > Fixing the __NR_uretprobe number in uprobe_syscall test, > > because it changed due to merge conflict. > > > > Ah, it is not enough, since Stephen's change is just a temporary fix on > next tree. OK, Let me update it. Hm, I thought I need to change all NR_uretprobe, but it makes NR_syscalls list sparse. This may need to be solved on linus tree in merge window, or I should merge (or rebase on) vfs-brauner tree before sending probes/for-next. Steve, do you have any idea? we talked about conflict on next tree[0]. [0] https://lore.kernel.org/all/20240613114243.2a50059b@canb.auug.org.au/ Thanks, > > Thanks, > > > Signed-off-by: Jiri Olsa > > --- > > 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) > > -- > > 2.45.1 > > > > > -- > Masami Hiramatsu (Google) -- Masami Hiramatsu (Google)