aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorSteven Rostedt (VMware) <[email protected]>2019-03-22 15:09:23 -0400
committerSteven Rostedt (VMware) <[email protected]>2019-09-17 12:05:13 -0400
commit604e3548236de26ed6659b85bda8f27b28a7601b (patch)
tree0f9581daf308099df5b1ab64e198c6e1905d18c0 /lib/memory-notifier-error-inject.c
parentd59fae6fea39efe65bb3d3310aaa2a54b5f55c0d (diff)
selftests/ftrace: Select an existing function in kprobe_eventname test
Running the ftrace selftests on the latest kernel caused the kprobe_eventname test to fail. It was due to the test that searches for a function with at "dot" in the name and adding a probe to that. Unfortunately, for this test, it picked: optimize_nops.isra.2.cold.4 Which happens to be marked as "__init", which means it no longer exists in the kernel! (kallsyms keeps those function names around for tracing purposes) As only functions that still exist are in the available_filter_functions file, as they are removed when the functions are freed at boot or module exit, have the test search for a function with ".isra." in the name as well as being in the available_filter_functions (if the file exists). Link: http://lkml.kernel.org/r/[email protected] Acked-by: Masami Hiramatsu <[email protected]> Signed-off-by: Steven Rostedt (VMware) <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions