(In reply to Jiri Slaby from comment #10) > (In reply to Petr Vorel from comment #8) > > > on TW (notice there's no "readline" function): > > readelf -Wa /usr/bin/bash |grep -w 'FUNC.* readline' > > 212: 0000000000000000 0 FUNC GLOBAL DEFAULT UND readline > > It is dynamically linked from libreadline. libreadline contains the > implementation: > readelf -Wa /usr/lib64/libreadline.so.8 | grep -w 'FUNC.* readline' > 696: 0000000000027f20 169 FUNC GLOBAL DEFAULT 15 readline So: bpftrace -l 'uprobe:/usr/lib64/libreadline.so.8:*'|grep -i :readline uprobe:/usr/lib64/libreadline.so.8:readline