When probing functions of a shared library, say glibc, it is often nice to just probe the exported (non-inlined, non-internal) functions of that library that are called by the process. Maybe we could add a qualifier after .function(), a sibling to .call, like .exported?
The .library qualifier now comes close to providing this: stap -p2 -c plt.x -e 'probe process("/plt.x").library("*libc*").function("*").call {printf("%s\n",pp())}' yields: process("/lib64/libc-2.14.so").function("_dl_start@../sysdeps/unix/sysv/linux/init-first.c:110").call process("/lib64/libc-2.14.so").function("_init@../sysdeps/unix/sysv/linux/init-first.c:51").call ... Just need to add .export to complement .call and .import so one could say: process("/plt.x").library("*libc*").function("*").export
commit: 4bda987e1 Adds .exported