diff options
author | 2024-05-15 01:36:20 -0400 | |
---|---|---|
committer | 2024-08-21 00:56:43 -0600 | |
commit | c049acee3c71cfc26c739f82617a84e13e471a45 (patch) | |
tree | 1de9c32d2ba6385b8b6e3c30c71138a5fabdde17 /scripts/generate_rust_analyzer.py | |
parent | kselftest: timers: Fix const correctness (diff) | |
download | linux-rng-c049acee3c71cfc26c739f82617a84e13e471a45.tar.xz linux-rng-c049acee3c71cfc26c739f82617a84e13e471a45.zip |
selftests/ftrace: Fix test to handle both old and new kernels
The function "scheduler_tick" was renamed to "sched_tick" and a selftest
that used that function for testing function trace filtering used that
function as part of the test.
But the change causes it to fail when run on older kernels. As tests
should not fail on older kernels, add a check to see which name is
available before testing.
Fixes: 86dd6c04ef9f ("sched/balancing: Rename scheduler_tick() => sched_tick()")
Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions