From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C6C383858406; Sat, 6 Nov 2021 20:40:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C6C383858406 From: "me at serhei dot io" To: systemtap@sourceware.org Subject: [Bug kprobes/28557] New: dwflpp not getting inline entry point of xfs:xfs_ilock Date: Sat, 06 Nov 2021 20:40:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: kprobes X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: me at serhei dot io 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: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: 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 X-BeenThere: systemtap@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Systemtap mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Nov 2021 20:40:55 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28557 Bug ID: 28557 Summary: dwflpp not getting inline entry point of xfs:xfs_ilock Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: kprobes Assignee: systemtap at sourceware dot org Reporter: me at serhei dot io Target Milestone: --- Manifests on kernel 5.14.0-1.el9.x86_64. $ /opt/stap-checkout/stap_install/bin/stap -vvvve 'probe begin { println("running") } probe module("xfs").function("xfs_ilock") { exit() }' running SHOULD BE parse 'xfs_ilock', func 'xfs_ilock' pattern 'xfs' matches module 'xfs' focused on module 'xfs' =3D [0x10000-0x144c28, bias 0 file /usr/lib/debug/usr/lib/modules/4.18.0-348.4.el8.x86_64/kernel/fs/xfs/xfs.ko= .debug ELF machine |x86_64 (code 62) focused on module 'xfs' selected function xfs_ilock xfs_ilock =3D dwfl_module_addrinfo(entrypc=3D0x85760 + (nil)) added to filtered_functions (dieoffset: 0x8efee9) checking instances of inline xfs_ilock selected inline instance of xfs_ilock entry-pc lookup (dwarf_entrypc dieoffset: 0x8f014e) =3D 0x85797 (rc 0) added to filtered_inlines (dieoffset: 0x8f014e) selected function xfs_ilock xfs_ilock =3D dwfl_module_addrinfo(entrypc=3D0x85760 + (nil)) added to filtered_functions (dieoffset: 0x8efee9) checking instances of inline xfs_ilock selected inline instance of xfs_ilock entry-pc lookup (dwarf_entrypc dieoffset: 0x8f014e) =3D 0x85797 (rc 0) added to filtered_inlines (dieoffset: 0x8f014e) probe xfs_ilock@fs/xfs/xfs_inode.c:166 module=3Dxfs reloc=3D.text pc=3D0x85= 760 function exit is defined in new-tapset-file /opt/stap-checkout/stap_install/share/systemtap/tapset/logging.stp querying entrypc 0x85797 of instance of inline 'xfs_ilock' probe xfs_ilock@fs/xfs/xfs_inode.c:166 module=3Dxfs reloc=3D.text pc=3D0x85= 797 symbol resolution for derived-probe probe module("xfs").function("xfs_ilock@fs/xfs/xfs_inode.c:166") /* pc=3D */ /* <- module("xfs").function("xfs_ilock@fs/xfs/xfs_inode.c:166") */{ exit(); } symbol resolution for derived-probe probe module("xfs").function("xfs_ilock@fs/xfs/xfs_inode.c:166") /* pc=3D */ /* <- module("xfs").function("xfs_ilock@fs/xfs/xfs_inode.c:166") */{ exit(); } INSTEAD parse 'xfs_ilock', func 'xfs_ilock' pattern 'xfs' matches module 'xfs' focused on module 'xfs' =3D [0x10000-0x187048, bias 0 file /lib/modules/5.14.0-1.el9.x86_64/kernel/fs /xfs/xfs.ko.xz ELF machine |x86_64 (code 62) focused on module 'xfs' selected function xfs_ilock xfs_ilock =3D dwfl_module_addrinfo(entrypc=3D0x8ea40 + (nil)) added to filtered_functions (dieoffset: 0x655c15) selected function xfs_ilock xfs_ilock =3D dwfl_module_addrinfo(entrypc=3D0x8ea40 + (nil)) added to filtered_functions (dieoffset: 0x655c15) probe xfs_ilock@fs/xfs/xfs_inode.c:164 module=3Dxfs reloc=3D.text pc=3D0x8e= a40 function exit is defined in new-tapset-file /opt/stap-checkout/stap_install/share/systemtap/tapset/logging.stp symbol resolution for derived-probe probe module("xfs").function("xfs_ilock@fs/xfs/xfs_inode.c:164") /* pc=3D */ /* <- module("xfs").function("xfs_ilock@fs/xfs/xfs_inode.c:164") */{ exit(); } --=20 You are receiving this mail because: You are the assignee for the bug.=