mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [GIT PULL] kselftest fixes update for Linux 6.18-rc6
@ 2025-11-13 18:52 Shuah Khan
  2025-11-13 19:47 ` pr-tracker-bot
  0 siblings, 1 reply; 2+ messages in thread
From: Shuah Khan @ 2025-11-13 18:52 UTC (permalink / raw)
  To: Linus Torvalds
  Cc: shuah, Shuah Khan, Steven Rostedt, linux-kselftest, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 1628 bytes --]

Hi Linus,

Please pull this kselftest fixes update for Linux 6.18-rc6

Fixes event-filter-function.tc tracing test failure caused when a first
run to sample events triggers kmem_cache_free which interferes with the
rest of the test. Fix this calling sample_events twice to eliminate the
kmem_cache_free related noise from the sampling.

diff is attached.

thanks,
-- Shuah

----------------------------------------------------------------
The following changes since commit 920aa3a7705a061cb3004572d8b7932b54463dbf:

   selftests: cachestat: Fix warning on declaration under label (2025-10-22 09:23:18 -0600)

are available in the Git repository at:

   git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.18-rc6

for you to fetch changes up to dd4adb986a86727ed8f56c48b6d0695f1e211e65:

   selftests/tracing: Run sample events to clear page cache events (2025-11-10 18:00:07 -0700)

----------------------------------------------------------------
linux_kselftest-fixes-6.18-rc6

Fixes event-filter-function.tc tracing test failure caused when a first
run to sample events triggers kmem_cache_free which interferes with the
rest of the test. Fix this calling sample_events twice to eliminate the
kmem_cache_free related noise from the sampling.

----------------------------------------------------------------
Steven Rostedt (1):
       selftests/tracing: Run sample events to clear page cache events

  tools/testing/selftests/ftrace/test.d/filter/event-filter-function.tc | 4 ++++
  1 file changed, 4 insertions(+)
----------------------------------------------------------------

[-- Attachment #2: linux_kselftest-fixes-6.18-rc6.diff --]
[-- Type: text/x-patch, Size: 606 bytes --]

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 c62165fabd0c..cfa16aa1f39a 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
@@ -20,6 +20,10 @@ sample_events() {
 echo 0 > tracing_on
 echo 0 > events/enable
 
+# Clear functions caused by page cache; run sample_events twice
+sample_events
+sample_events
+
 echo "Get the most frequently calling function"
 echo > trace
 sample_events

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

* Re: [GIT PULL] kselftest fixes update for Linux 6.18-rc6
  2025-11-13 18:52 [GIT PULL] kselftest fixes update for Linux 6.18-rc6 Shuah Khan
@ 2025-11-13 19:47 ` pr-tracker-bot
  0 siblings, 0 replies; 2+ messages in thread
From: pr-tracker-bot @ 2025-11-13 19:47 UTC (permalink / raw)
  To: Shuah Khan
  Cc: Linus Torvalds, shuah, Shuah Khan, Steven Rostedt,
	linux-kselftest, linux-kernel

The pull request you sent on Thu, 13 Nov 2025 11:52:37 -0700:

> git://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux-kselftest tags/linux_kselftest-fixes-6.18-rc6

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/8b4a014e2865a970c18c1e9bba2b5c5a7322045f

Thank you!

-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

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

end of thread, other threads:[~2025-11-13 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-11-13 18:52 [GIT PULL] kselftest fixes update for Linux 6.18-rc6 Shuah Khan
2025-11-13 19:47 ` pr-tracker-bot

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

all inboxes | Powered by JetHome®