bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Yipeng Zou <zouyipeng@huawei.com>
To: <ast@kernel.org>, <daniel@iogearbox.ne>, <andrii@kernel.org>,
	<martin.lau@linux.dev>, <song@kernel.org>,
	<yonghong.song@linux.dev>, <john.fastabend@gmail.com>,
	<kpsingh@kernel.org>, <sdf@google.com>, <haoluo@google.com>,
	<jolsa@kernel.org>, <mykolal@fb.com>, <shuah@kernel.org>,
	<linux-kselftest@vger.kernel.org>, <bpf@vger.kernel.org>,
	<toke@redhat.com>
Cc: <zouyipeng@huawei.com>
Subject: [bpf-next] selftests/bpf: clean-up fmod_ret in bench_rename test script
Date: Mon, 14 Aug 2023 11:07:27 +0800	[thread overview]
Message-ID: <20230814030727.3010390-1-zouyipeng@huawei.com> (raw)

[root@localhost bpf]# ./benchs/run_bench_rename.sh
base      :    0.819 ± 0.012M/s
kprobe    :    0.538 ± 0.009M/s
kretprobe :    0.503 ± 0.004M/s
rawtp     :    0.779 ± 0.020M/s
fentry    :    0.726 ± 0.007M/s
fexit     :    0.691 ± 0.007M/s
benchmark 'rename-fmodret' not found

The bench_rename_fmod_ret has been removed in the commit [1], clean-up
it in test script.

[1] b000def2e052 ("selftests: Remove fmod_ret from test_overhead").

Fixes: b000def2e052 ("selftests: Remove fmod_ret from test_overhead")
Signed-off-by: Yipeng Zou <zouyipeng@huawei.com>
---
 tools/testing/selftests/bpf/benchs/run_bench_rename.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/bpf/benchs/run_bench_rename.sh b/tools/testing/selftests/bpf/benchs/run_bench_rename.sh
index 16f774b1cdbe..7b281dbe4165 100755
--- a/tools/testing/selftests/bpf/benchs/run_bench_rename.sh
+++ b/tools/testing/selftests/bpf/benchs/run_bench_rename.sh
@@ -2,7 +2,7 @@
 
 set -eufo pipefail
 
-for i in base kprobe kretprobe rawtp fentry fexit fmodret
+for i in base kprobe kretprobe rawtp fentry fexit
 do
 	summary=$(sudo ./bench -w2 -d5 -a rename-$i | tail -n1 | cut -d'(' -f1 | cut -d' ' -f3-)
 	printf "%-10s: %s\n" $i "$summary"
-- 
2.34.1


             reply	other threads:[~2023-08-14  3:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-08-14  3:07 Yipeng Zou [this message]
2023-08-14 16:50 ` [bpf-next] selftests/bpf: clean-up fmod_ret in bench_rename test script patchwork-bot+netdevbpf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230814030727.3010390-1-zouyipeng@huawei.com \
    --to=zouyipeng@huawei.com \
    --cc=andrii@kernel.org \
    --cc=ast@kernel.org \
    --cc=bpf@vger.kernel.org \
    --cc=daniel@iogearbox.ne \
    --cc=haoluo@google.com \
    --cc=john.fastabend@gmail.com \
    --cc=jolsa@kernel.org \
    --cc=kpsingh@kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=martin.lau@linux.dev \
    --cc=mykolal@fb.com \
    --cc=sdf@google.com \
    --cc=shuah@kernel.org \
    --cc=song@kernel.org \
    --cc=toke@redhat.com \
    --cc=yonghong.song@linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).