]> git.ipfire.org Git - thirdparty/qemu.git/commit
linux-user: open_self_stat: Implement num_threads
authorFabio D'Urso <fdurso@google.com>
Wed, 19 Jun 2024 19:41:09 +0000 (21:41 +0200)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 29 Jul 2024 21:59:23 +0000 (07:59 +1000)
commitd9b019e0a05cbbaa184815dd201b25006950c6d7
tree32dad478b7d697565368d72879750a04b17a238b
parent27fca0a0d560ae704457c5f89e0be658afef034d
linux-user: open_self_stat: Implement num_threads

The num_threads field reports the total number of threads in the
process. In QEMU, this is equal to the number of CPU instances.

Signed-off-by: Fabio D'Urso <fdurso@google.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-ID: <20240619194109.248066-1-fdurso@google.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
linux-user/syscall.c