summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorYuwen Chen <ywen.chen@foxmail.com>2026-05-18 10:16:40 +0800
committerThomas Gleixner <tglx@kernel.org>2026-07-20 20:58:51 +0200
commit6c4a1b972643d72bd26f674677df8b5a6a3fe94f (patch)
tree6c9700dad9b70142f6ee5de11299d7871afefcde /tools/perf/scripts/python/bin/stackcollapse-report
parent50c121e5a57abe446e46825fb9c69ac419765d5c (diff)
selftests/futex: Provide thread creation and synchronization helpers
There are timing issues in the use of threads in some selftests for futexes as the tests rely on timed waits to ensure that the other test thread[s] reached the lock wait function in the kernel. That "works" on halfways idle systems, but fails under load which results in tests failing. Provide a set of helper functions to create test threads and to wait for them to reach the lock wait by monitoring /proc/$PID/wchan. [ tglx: Fixup coding style, move the timeout into the helper, adapt to test harness changes and massage change log ] Signed-off-by: Yuwen Chen <ywen.chen@foxmail.com> Signed-off-by: Thomas Gleixner <tglx@kernel.org> Link: https://patch.msgid.link/tencent_4C90BE98BBC48B38B9FBC6A95C45CF49F309@qq.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions