From: Frank Ch. Eigler Date: Mon, 26 Jul 2021 02:09:18 +0000 (-0400) Subject: PR28140: kernel 5.14-rc adaptation, jump_label_patch X-Git-Tag: release-4.6~96 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=ea00c10704bfc64b908ef96e4b9574dadeae2b03;p=systemtap.git PR28140: kernel 5.14-rc adaptation, jump_label_patch Linux commit ab3257042c2 makes it necessary for us to stop overriding CONFIG_STACK_VALIDATION= (originally a workaround for a 2016 rawhide bug). This fixes the tracepoints.stp test case. --- diff --git a/buildrun.cxx b/buildrun.cxx index ae27ddea4..6a6725db6 100644 --- a/buildrun.cxx +++ b/buildrun.cxx @@ -120,7 +120,13 @@ make_any_make_cmd(systemtap_session& s, const string& dir, const string& target) "CONFIG_DEBUG_INFO_BTF_MODULES=", // RHBZ1321628: suppress stack validation; expected to be temporary - "CONFIG_STACK_VALIDATION=", + // "CONFIG_STACK_VALIDATION=", + + // PR28140 ... as of kernel 5.14-rc*, this is actively + // dangerous, because it skips the full objtool processing + // chain, and the resulting tracepoint call sites in the ko are + // not properly instrumented. See also Linux commit + // ab3257042c2. }; // PR10280: suppress symbol versioning to restrict to exact kernel version