You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
tests/get_cpu_location: disable an assert on process-wide cpu-location when there are unexpected threads
qemu-user led us to add an env-var to disable some checks
(see commit de60938).
The actual problem is an expected threads in a process (launched by qemu-user).
Detect such cases on Linux by looking in /proc/self/task/ and auto-disable those asserts.
The env-var is still available for now, may be useful later if the same problem ever
occurs on !Linux.
Thanks to Ludovic Courtes for the help.
Signed-off-by: Brice Goglin <[email protected]>
0 commit comments