diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2024-03-29 15:38:29 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2024-03-29 15:38:29 -0700 |
commit | 1ab5c8a338c470ceda8221e3a00ad0fc0a3be55b (patch) | |
tree | 63c25364b90192bf1444f786bced7954bf6b7656 /tools/testing | |
parent | a2ad5d9e65474f7a06038f5a91fb4d8c973cbea2 (diff) | |
parent | 224fe424c356cb5c8f451eca4127f32099a6f764 (diff) | |
download | linux-1ab5c8a338c470ceda8221e3a00ad0fc0a3be55b.tar.gz linux-1ab5c8a338c470ceda8221e3a00ad0fc0a3be55b.tar.bz2 linux-1ab5c8a338c470ceda8221e3a00ad0fc0a3be55b.zip |
Merge tag 'linux_kselftest-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest
Pull kselftest fixes from Shuah Khan:
"Fixes to seccomp and ftrace tests and a change to add config file for
dmabuf-heap test to increase coverage"
* tag 'linux_kselftest-fixes-6.9-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest:
selftests: dmabuf-heap: add config file for the test
selftests/seccomp: Try to fit runtime of benchmark into timeout
selftests/ftrace: Fix event filter target_func selection
Diffstat (limited to 'tools/testing')
-rw-r--r-- | tools/testing/selftests/dmabuf-heaps/config | 3 | ||||
-rw-r--r-- | tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc | 2 | ||||
-rw-r--r-- | tools/testing/selftests/seccomp/settings | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/tools/testing/selftests/dmabuf-heaps/config b/tools/testing/selftests/dmabuf-heaps/config new file mode 100644 index 000000000000..be091f1cdfa0 --- /dev/null +++ b/tools/testing/selftests/dmabuf-heaps/config @@ -0,0 +1,3 @@ +CONFIG_DMABUF_HEAPS=y +CONFIG_DMABUF_HEAPS_SYSTEM=y +CONFIG_DRM_VGEM=y diff --git a/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc b/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc index 2de7c61d1ae3..3f74c09c56b6 100644 --- a/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc +++ b/tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc @@ -24,7 +24,7 @@ echo 0 > events/enable echo "Get the most frequently calling function" sample_events -target_func=`cut -d: -f3 trace | sed 's/call_site=\([^+]*\)+0x.*/\1/' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'` +target_func=`cat trace | grep -o 'call_site=\([^+]*\)' | sed 's/call_site=//' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'` if [ -z "$target_func" ]; then exit_fail fi diff --git a/tools/testing/selftests/seccomp/settings b/tools/testing/selftests/seccomp/settings index 6091b45d226b..a953c96aa16e 100644 --- a/tools/testing/selftests/seccomp/settings +++ b/tools/testing/selftests/seccomp/settings @@ -1 +1 @@ -timeout=120 +timeout=180 |