Summary: | The /* pc=0x... */ is no longer printed by "stap -v -L 'kernel.function("*")' | ||
---|---|---|---|
Product: | systemtap | Reporter: | William Cohen <wcohen> |
Component: | translator | Assignee: | Di Chen <dichen> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dichen, fche, tbaeder |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
William Cohen
2021-06-01 17:09:47 UTC
Before the commit was made printscript in main.cxx:180 was: p->printsig(sig, false); This would end up calling the following method in tapsets.cxx where p is type (derived_probe *): dwarf_derived_probe::printsig (ostream& o, bool nest) const However, after the commit the main.cxx:180 becomes: p->printsig_nonest(sig); The code in printscript ends up calling the following method in staptree.cxx: void probe::printsig (ostream& o) const Yeah it looks like the conversion to fork into _nest and _nonest was not complete/accurate. Unless Tim might want to have a second go at it, we'd need to revert this patch. Commit f463f6053e6d28da2095d5b4b9da0cbac3d522af addresses this issue. With this commit the /* pc=... info is there: $ ../install/bin/stap -v -L 'kernel.function("BTRFS_I")' Pass 1: parsed user script and 792 library scripts using 3480720virt/3245652res/12488shr/3233364data kb, in 7050usr/730sys/8069real ms. kernel.function("BTRFS_I@fs/btrfs/btrfs_inode.h:232") /* pc=_stext+0x544c68 */ kernel.function("BTRFS_I@fs/btrfs/btrfs_inode.h:232") /* pc=_stext+0x544bf3 */ kernel.function("BTRFS_I@fs/btrfs/btrfs_inode.h:232") /* pc=_stext+0x53fdf5 */ kernel.function("BTRFS_I@fs/btrfs/btrfs_inode.h:232") /* pc=_stext+0x544cd8 */ kernel.function("BTRFS_I@fs/btrfs/btrfs_inode.h:232") /* pc=_stext+0x53fe24 */ kernel.function("BTRFS_I@fs/btrfs/btrfs_inode.h:232") /* pc=_stext+0x53fdfe */ ... |