Linux Kernel Selftest development
 help / color / mirror / Atom feed
* [PATCH v3 0/2] selftests: livepatch: test if ftrace can trace a livepatched function
@ 2025-03-24 22:50 Filipe Xavier
  2025-03-24 22:50 ` [PATCH v3 1/2] selftests: livepatch: add new ftrace helpers functions Filipe Xavier
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Filipe Xavier @ 2025-03-24 22:50 UTC (permalink / raw)
  To: Josh Poimboeuf, Jiri Kosina, Miroslav Benes, Petr Mladek,
	Joe Lawrence, Shuah Khan, Marcos Paulo de Souza
  Cc: live-patching, linux-kselftest, linux-kernel, felipe_life,
	Filipe Xavier

This patchset add ftrace helpers functions and
add a new test makes sure that ftrace can trace
a function that was introduced by a livepatch.

Signed-off-by: Filipe Xavier <felipeaggger@gmail.com>
Suggested-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Reviewed-by: Marcos Paulo de Souza <mpdesouza@suse.com>
Acked-by: Miroslav Benes <mbenes@suse.cz>
---
Changes in v3:
- functions.sh: fixed sed to remove warning from shellcheck and add grep -Fw params.
- test-ftrace.sh: change constant to use common SYSFS_KLP_DIR.
- Link to v2: https://lore.kernel.org/r/20250318-ftrace-sftest-livepatch-v2-0-60cb0aa95cca@gmail.com

Changes in v2:
- functions.sh: change check traced function to accept a list of functions.
- Link to v1: https://lore.kernel.org/r/20250306-ftrace-sftest-livepatch-v1-0-a6f1dfc30e17@gmail.com

---
Filipe Xavier (2):
      selftests: livepatch: add new ftrace helpers functions
      selftests: livepatch: test if ftrace can trace a livepatched function

 tools/testing/selftests/livepatch/functions.sh   | 49 ++++++++++++++++++++++++
 tools/testing/selftests/livepatch/test-ftrace.sh | 34 ++++++++++++++++
 2 files changed, 83 insertions(+)
---
base-commit: 848e076317446f9c663771ddec142d7c2eb4cb43
change-id: 20250306-ftrace-sftest-livepatch-60d9dc472235

Best regards,
-- 
Filipe Xavier <felipeaggger@gmail.com>


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2025-03-25 14:46 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-24 22:50 [PATCH v3 0/2] selftests: livepatch: test if ftrace can trace a livepatched function Filipe Xavier
2025-03-24 22:50 ` [PATCH v3 1/2] selftests: livepatch: add new ftrace helpers functions Filipe Xavier
2025-03-24 22:50 ` [PATCH v3 2/2] selftests: livepatch: test if ftrace can trace a livepatched function Filipe Xavier
2025-03-25 13:29 ` [PATCH v3 0/2] " Joe Lawrence
2025-03-25 13:56 ` Petr Mladek
2025-03-25 14:01 ` Petr Mladek
2025-03-25 14:46   ` Filipe Xavier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox