From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 2C9B7385841C; Wed, 20 Mar 2024 21:10:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2C9B7385841C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1710969057; bh=hmoPU5d2qA9tmvdRnHlS7YcEh1CJ4DSj1zwrjFeNRKQ=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oYvouUIEqdy8seCsg/XgtEykabMQnBol/OyUn3t7F9UfyThjWuA0pIFBV7uy7Ev3f ZRBTcdjXxk3AObFFEb6FxE8bO06MZwXwmst8BAQbHg9oUJ3/rtQTJakiEUVOM0ytSQ XHPSS7XietA5L0tDqFdhHdSMZwJRtk9UlHxv2ias= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: [Bug runtime/31500] stapio exited with irqs disabled Date: Wed, 20 Mar 2024 21:10:54 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: runtime X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: wcohen at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D31500 --- Comment #7 from William Cohen --- I did some more looking around to see where the session's guru_mode would affect the list of points blocked. The following URL points at a line that mentions PR6503, work to allow probing function in the init/exit sections o= f a module. If the probe is on kernel code the init/exit sections are blocked: https://sourceware.org/git/?p=3Dsystemtap.git;a=3Dblob;f=3Ddwflpp.cxx;h=3D2= 6e9144cdcc7083581aeff3e101044b5542f43d8;hb=3DHEAD#l4519 However, the test for guru_mode ignores that and sets the blocklisted to=20 dwflpp::blocklisted_none allowing problematic probe in kernels init to be probed: https://sourceware.org/git/?p=3Dsystemtap.git;a=3Dblob;f=3Ddwflpp.cxx;h=3D2= 6e9144cdcc7083581aeff3e101044b5542f43d8;hb=3DHEAD#l4543 Maybe the following line: if (sess.guru_mode) should be: if (sess.guru_mode && module !=3D TOK_KERNEL) --=20 You are receiving this mail because: You are the assignee for the bug.=