aboutsummaryrefslogtreecommitdiffstats
path: root/lib/mpi/mpi-mod.c
diff options
context:
space:
mode:
authorSteven Rostedt <[email protected]>2025-10-28 16:27:24 +0000
committerShuah Khan <[email protected]>2025-11-11 01:00:07 +0000
commitdd4adb986a86727ed8f56c48b6d0695f1e211e65 (patch)
tree8d93beb6ef6642d98e62e6d293361ddfb1575417 /lib/mpi/mpi-mod.c
parentselftests: cachestat: Fix warning on declaration under label (diff)
downloadkernel-dd4adb986a86727ed8f56c48b6d0695f1e211e65.tar.gz
kernel-dd4adb986a86727ed8f56c48b6d0695f1e211e65.zip
selftests/tracing: Run sample events to clear page cache events
The tracing selftest "event-filter-function.tc" was failing because it first runs the "sample_events" function that triggers the kmem_cache_free event and it looks at what function was used during a call to "ls". But the first time it calls this, it could trigger events that are used to pull pages into the page cache. The rest of the test uses the function it finds during that call to see if it will be called in subsequent "sample_events" calls. But if there's no need to pull pages into the page cache, it will not trigger that function and the test will fail. Call the "sample_events" twice to trigger all the page cache work before it calls it to find a function to use in subsequent checks. Cc: [email protected] Fixes: eb50d0f250e96 ("selftests/ftrace: Choose target function for filter test from samples") Signed-off-by: Steven Rostedt (Google) <[email protected]> Acked-by: Masami Hiramatsu (Google) <[email protected]> Signed-off-by: Shuah Khan <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions