https://bugzilla.suse.com/show_bug.cgi?id=1232536 https://bugzilla.suse.com/show_bug.cgi?id=1232536#c8 Petr Vorel <petr.vorel@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(shung-hsi.yu@suse | |.com) Version|Slowroll |Current --- Comment #8 from Petr Vorel <petr.vorel@suse.com> --- (In reply to Anthony Iliopoulos from comment #5)
hm so the 'u:/bin/bash:readline' probe syntax *should* be working (it does in other distros indeed).
but there's something about our bash that prevents the readline symbol from being resolved:
on TW (notice there's no "readline" function):
# bpftrace -l 'uprobe:/bin/bash:*' |grep -i readline uprobe:/bin/bash:initialize_readline uprobe:/bin/bash:maybe_make_readline_line uprobe:/bin/bash:pcomp_set_readline_variables uprobe:/bin/bash:posix_readline_initialize uprobe:/bin/bash:readline_get_char_offset uprobe:/bin/bash:readline_set_char_offset uprobe:/bin/bash:yy_readline_get.lto_priv.0 uprobe:/bin/bash:yy_readline_unget.lto_priv.0
readelf -Wa /usr/bin/bash |grep -w 'FUNC.* readline' 212: 0000000000000000 0 FUNC GLOBAL DEFAULT UND readline
on debian:
# bpftrace -l 'uprobe:/bin/bash:*'|grep readline uprobe:/bin/bash:initialize_readline uprobe:/bin/bash:pcomp_set_readline_variables uprobe:/bin/bash:posix_readline_initialize uprobe:/bin/bash:readline uprobe:/bin/bash:readline_internal_char uprobe:/bin/bash:readline_internal_setup uprobe:/bin/bash:readline_internal_teardown
$ readelf -Wa /usr/bin/bash |grep -w 'FUNC.* readline' 926: 00000000000cce60 169 FUNC GLOBAL DEFAULT 15 readline => the difference is in "Ndx" column: Symbol table '.dynsym' contains 2575 entries: Num: Value Size Type Bind Vis Ndx Name Waiting for Shung-Hsi to decide what should be done. -- You are receiving this mail because: You are on the CC list for the bug.