Live-Patching Archive on
 help / color / Atom feed
From: Miroslav Benes <>
Cc:,,, Miroslav Benes <>
Subject: [PATCH 1/2] selftests/livepatch: Replace set_dynamic_debug() with setup_config() in README
Date: Mon, 13 Jan 2020 13:49:06 +0100
Message-ID: <> (raw)
In-Reply-To: <>

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 <>
 tools/testing/selftests/livepatch/README | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/livepatch/README b/tools/testing/selftests/livepatch/README
index b73cd0e2dd51..621d325425c2 100644
--- a/tools/testing/selftests/livepatch/README
+++ b/tools/testing/selftests/livepatch/README
@@ -35,7 +35,7 @@ Adding tests
 See the common file for the existing collection of utility
-functions, most importantly set_dynamic_debug() and check_result().  The
+functions, most importantly setup_config() and check_result().  The
 latter function greps the kernel's ring buffer for "livepatch:" and
 "test_klp" strings, so tests be sure to include one of those strings for
 result comparison.  Other utility functions include general module

  reply index

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-01-13 12:49 [PATCH 0/2] selftests/livepatch: Trivial cleanups Miroslav Benes
2020-01-13 12:49 ` Miroslav Benes [this message]
2020-01-13 12:59   ` [PATCH 1/2] selftests/livepatch: Replace set_dynamic_debug() with setup_config() in README Kamalesh Babulal
2020-01-13 12:49 ` [PATCH 2/2] selftests/livepatch: Remove unused local variable in set_ftrace_enabled() Miroslav Benes
2020-01-13 13:00   ` Kamalesh Babulal
2020-01-13 14:37 ` [PATCH 0/2] selftests/livepatch: Trivial cleanups Joe Lawrence
2020-01-14  8:19 ` Petr Mladek

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Live-Patching Archive on

Archives are clonable:
	git clone --mirror live-patching/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 live-patching live-patching/ \
	public-inbox-index live-patching

Example config snippet for mirrors

Newsgroup available over NNTP:

AGPL code for this site: git clone