Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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

+5 -2
+3
tools/testing/selftests/dmabuf-heaps/config
··· 1 + CONFIG_DMABUF_HEAPS=y 2 + CONFIG_DMABUF_HEAPS_SYSTEM=y 3 + CONFIG_DRM_VGEM=y
+1 -1
tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc
··· 24 24 echo "Get the most frequently calling function" 25 25 sample_events 26 26 27 - target_func=`cut -d: -f3 trace | sed 's/call_site=\([^+]*\)+0x.*/\1/' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'` 27 + target_func=`cat trace | grep -o 'call_site=\([^+]*\)' | sed 's/call_site=//' | sort | uniq -c | sort | tail -n 1 | sed 's/^[ 0-9]*//'` 28 28 if [ -z "$target_func" ]; then 29 29 exit_fail 30 30 fi
+1 -1
tools/testing/selftests/seccomp/settings
··· 1 - timeout=120 1 + timeout=180