From: Christophe Leroy <christophe.leroy@csgroup.eu>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>,
Adhemerval Zanella <adhemerval.zanella@linaro.org>,
Xi Ruoyao <xry111@xry111.site>
Cc: "linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>
Subject: Profiling of vdso_test_random
Date: Wed, 4 Sep 2024 13:41:19 +0200 [thread overview]
Message-ID: <30e9575c-a53e-4e17-bbbd-7127798efb05@csgroup.eu> (raw)
Hi,
I'm done a 'perf record' on vdso_test_random reduced to vdso test only,
and I get the following function usage profile.
Do you see the same type of percentage on your platforms ?
I would have expected most of the time to be spent in
__arch_chacha20_blocks_nostack() but that's in fact not the case.
# Samples: 61K of event 'task-clock:ppp'
# Event count (approx.): 15463500000
#
# Overhead Command Shared Object Symbol
# ........ ............... ...................
....................................
#
57.74% vdso_test_getra [vdso] [.] __c_kernel_getrandom
22.49% vdso_test_getra [vdso] [.]
__arch_chacha20_blocks_nostack
10.80% vdso_test_getra vdso_test_getrandom [.] test_vdso_getrandom
8.89% vdso_test_getra [vdso] [.] __kernel_getrandom
0.01% vdso_test_getra [kernel.kallsyms] [k]
finish_task_switch.isra.0
Christophe
next reply other threads:[~2024-09-04 11:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-04 11:41 Christophe Leroy [this message]
2024-09-04 13:21 ` Adhemerval Zanella Netto
2024-09-04 16:37 ` Jason A. Donenfeld
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=30e9575c-a53e-4e17-bbbd-7127798efb05@csgroup.eu \
--to=christophe.leroy@csgroup.eu \
--cc=Jason@zx2c4.com \
--cc=adhemerval.zanella@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=xry111@xry111.site \
/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
all inboxes | Powered by JetHome®