diff options
| author | Lei Zhu <zhulei@kylinos.cn> | 2026-07-29 15:24:26 +0800 |
|---|---|---|
| committer | David Heidelberg <david@ixit.cz> | 2026-09-23 22:13:16 +0200 |
| commit | 3d8afc5243ea2ee803d98e69eb4a01748167ac1b (patch) | |
| tree | d12e9b124dbe178833014c1c3ec4f81f2f776e68 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 092c6a605cbd6414ef499834c2e0da69c2c3388e (diff) | |
selftests: nci: Correct pthread_create return value check
The pthread_create() functions returns 0 on success and a positive value on
failure. Modify the return value check to correctly detect failure cases.
Fixes: 72696bd8a09d ("selftests: nci: Extract the start/stop discovery function")
Signed-off-by: Lei Zhu <zhulei@kylinos.cn>
Link: https://patch.msgid.link/20260729072426.303484-1-zhulei_szu@163.com
Signed-off-by: David Heidelberg <david@ixit.cz>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
