From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 906D83858414; Wed, 24 May 2023 11:16:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 906D83858414 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684927015; bh=4dJeDfJwykkpDwf9LYbmc593/pEtfpFECq0t1SegaGM=; h=From:To:Subject:Date:In-Reply-To:References:From; b=tHUW+fYi9wfVfvU0S5LcRDV2j4nFLT7v3J/Q4Tg6vlywsNx8sTHq9a00uMrX4BHuL 2HbibRiVqKLjGlOny2Gck5lyZcgUBpnZ38xs4sm9iyjBhwJIv5DS8s7GhbwE7nhUFJ 623EEAHTrjTb+m0CpXMvDUsWpi7sGoU2fy71sD1k= From: "mcermak at redhat dot com" To: systemtap@sourceware.org Subject: =?UTF-8?B?W0J1ZyBydW50aW1lLzMwNDE1XSBjb25mbGljdGluZyB0eXBlcyBm?= =?UTF-8?B?b3Ig4oCYa2FsbHN5bXNfb25fZWFjaF9zeW1ib2zigJk=?= Date: Wed, 24 May 2023 11:16: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: mcermak 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: attachments.created 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=3D30415 --- Comment #7 from Martin Cermak --- Created attachment 14905 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D14905&action=3Ded= it possible patch I'm wondering if something as simple as the attached patch would work. My impression is that with this, either stapkp_symbol_callback() runs as a callback for a module symbol, and then module is known. Or it runs as a callback for a kernel symbol, the module isn't known, but even in this case= the if-else branching in the function should proceed meaningfully (?). However, when testing this I'm getting following warnings when trying to compile alias_suffixes.stp, and I'm not sure if it's related and what to do about it (if anything at all): 39 x86_64 # stap --poison-cache -p4 /usr/local/share/systemtap/examples/general/alias_suffixes.stp /tmp/stapBnU41h/stap_12c1257a7321a3bb17fbe980edd13be4_84218.o: warning: objtool: _stp_vsprint_memory+0x1e9: call to __get_user_nocheck_1() with UAC= CESS enabled /tmp/stapBnU41h/stap_12c1257a7321a3bb17fbe980edd13be4_84218.o: warning: objtool: .altinstr_replacement+0x1d: recursive UACCESS enable /tmp/stapBnU41h/stap_12c1257a7321a3bb17fbe980edd13be4_84218.o: warning: objtool: probe_6413+0x3a7: call to __get_user_nocheck_1() with UACCESS enab= led /root/.systemtap/cache/12/stap_12c1257a7321a3bb17fbe980edd13be4_84218.ko 39 x86_64 # --=20 You are receiving this mail because: You are the assignee for the bug.=