diff options
author | 2021-04-02 14:21:31 -0700 | |
---|---|---|
committer | 2021-08-13 13:19:06 -0600 | |
commit | 1195505f5de2adfee5f277433f0b35498467cc64 (patch) | |
tree | f484ff3c2589c4b991491fd13a768d470096a910 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | fat: Add KUnit tests for checksums and timestamps (diff) | |
download | linux-dev-1195505f5de2adfee5f277433f0b35498467cc64.tar.xz linux-dev-1195505f5de2adfee5f277433f0b35498467cc64.zip |
kunit: ubsan integration
Integrates UBSAN into the KUnit testing framework. It fails KUnit tests
whenever it reports undefined behavior.
When CONFIG_KUNIT=n, nothing is printed or even formatted, so this has
no behavioral impact outside of tests.
kunit_fail_current_test() effectively does a pr_err() as well, so
there's some slight duplication, but it also ensures an error is
recorded in the debugfs entry for the running KUnit test.
Print a shorter version of the message to make it less spammy.
Co-developed-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Daniel Latypov <dlatypov@google.com>
Signed-off-by: Uriel Guajardo <urielguajardo@google.com>
Reviewed-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions