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

selftests/livepatch: Replace set_dynamic_debug() with setup_config() in README

Commit 35c9e74cff4c ("selftests/livepatch: Make dynamic debug setup and
restore generic") introduced setup_config() to set up the environment
for each test. It superseded set_dynamic_debug(). README still mentions
set_dynamic_debug(), so update it to setup_config() which should be used
now in every test.

Signed-off-by: Miroslav Benes <mbenes@suse.cz>
Reviewed-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>

authored by

Miroslav Benes and committed by
Shuah Khan
b54c82e9 46d1a0f0

+1 -1
+1 -1
tools/testing/selftests/livepatch/README
··· 35 35 ------------ 36 36 37 37 See the common functions.sh file for the existing collection of utility 38 - functions, most importantly set_dynamic_debug() and check_result(). The 38 + functions, most importantly setup_config() and check_result(). The 39 39 latter function greps the kernel's ring buffer for "livepatch:" and 40 40 "test_klp" strings, so tests be sure to include one of those strings for 41 41 result comparison. Other utility functions include general module