aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorMickaël Salaün <[email protected]>2024-04-08 09:46:19 +0200
committerShuah Khan <[email protected]>2024-05-06 14:22:02 -0600
commitcde5e1b4a90486b4ac731ee43e4e0152cc16887b (patch)
tree6a1af2e8867f29e57a82a0b9e2217dd093884e21 /tools/perf/scripts/python/export-to-postgresql.py
parentdd5a440a31fae6e459c0d6271dddd62825505361 (diff)
kunit: Handle thread creation error
Previously, if a thread creation failed (e.g. -ENOMEM), the function was called (kunit_catch_run_case or kunit_catch_run_case_cleanup) without marking the test as failed. Instead, fill try_result with the error code returned by kthread_run(), which will mark the test as failed and print "internal error occurred...". Cc: Brendan Higgins <[email protected]> Cc: Shuah Khan <[email protected]> Reviewed-by: Kees Cook <[email protected]> Reviewed-by: Rae Moar <[email protected]> Reviewed-by: David Gow <[email protected]> Signed-off-by: Mickaël Salaün <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions