From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 49F5B385842A; Mon, 22 May 2023 14:48:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 49F5B385842A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1684766934; bh=LmCCVKixxdiF2FEvFhtJXI8O77s7RIP6+Ev/vTN22ys=; h=From:To:Subject:Date:In-Reply-To:References:From; b=GvLOJL28tzzu71lwJcKWTxRLCQF96g/mtI6vT1+GefVYn7tZbH+X+ds8iD3G/8P2G aRT7TL7s0iqrXMAORARZlW1m+JBpkh6rfjyuQYGM5cJ8an6fHwCu4JNXSV62NXifRs fxB+0DbX61KkwqjHab6T/MRbwMBm9lvCFzdtHnCg= From: "wcohen at redhat dot com" To: systemtap@sourceware.org Subject: =?UTF-8?B?W0J1ZyBydW50aW1lLzMwNDE1XSBjb25mbGljdGluZyB0eXBlcyBm?= =?UTF-8?B?b3Ig4oCYa2FsbHN5bXNfb25fZWFjaF9zeW1ib2zigJk=?= Date: Mon, 22 May 2023 14:48: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=3D30415 --- Comment #6 from William Cohen --- Did some kernel archeology. There are two kallsyms_on_each_symbol function= s: the kallsyms_on_each_symbol and another function module_kallsyms_on_each_symbol. The initial kernel commit 75a66614db21007bcc8c37f9c5d5b922981387b9 has the kallsyms_on_each_symbol iterate through the kernel symbols if there was no non-zero return from he callback the module_kallsyms_on_each_symbol was run. The module_kallsyms_on_each_symbol would invoke the callback for each symbol in each module. There have been changes on the module_kallsyms_on_each_module= as now it takes an argument on which module's symbols to apply the callback to (NULL could be passed in to get it to apply to all the modules). The module argument was added by kernel git commit 07cc2c931e8e1083a31f4c51d2244fe264af63bf in Jan 2023. The question is how to get stapkp_symbol_callback working without the struct module argument. --=20 You are receiving this mail because: You are the assignee for the bug.=