From f1d4f4313f6aa3e46211a47cfdcccfbd70bf769e Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Mon, 19 Dec 2011 23:43:16 -0500 Subject: [PATCH] PR13520: perspire to keep lockdep enabled, despite TAINT_OOT_MODULE logic lockdep is nice to have while running the systemtap testsuite on recent kernels. * testsuite/lib/systemtap.exp (setup_systemtap_environment): Make it so. --- testsuite/lib/systemtap.exp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/testsuite/lib/systemtap.exp b/testsuite/lib/systemtap.exp index 8f5322104..680cf7580 100644 --- a/testsuite/lib/systemtap.exp +++ b/testsuite/lib/systemtap.exp @@ -100,6 +100,14 @@ proc setup_systemtap_environment {} { # Start with fresh server certificates exec rm -fr $env(SYSTEMTAP_DIR)/ssl + # Remove the rc file + exec rm -f $env(SYSTEMTAP_DIR)/rc + + # All hail the prophet lockdep + set chan [open $env(SYSTEMTAP_DIR)/rc w] + puts $chan "--modinfo intree=Y" + close $chan + # Erase the old server log file. set logfile "[exec pwd]/server.log" if {[file exists $logfile]} then { -- 2.43.5