Call to __ustack_raw(0) causes 'Unknown symbol in module' on rhel6 and older kernels (all arches): ======= 6.7 S x86_64 # stap --poison-cache -e 'probe oneshot{println(__ustack_raw(0))}' WARNING: "uprobe_get_pc" [/tmp/stapJi1kb4/stap_45d1c4a66fbffea13ac8a0c88df0581e_1588.ko] undefined! ERROR: Couldn't insert module '/tmp/stapJi1kb4/stap_45d1c4a66fbffea13ac8a0c88df0581e_1588.ko': Unknown symbol in module WARNING: /root/mcermak-systemtap/systemtap-build/bin/staprun exited with status: 1 Pass 5: run failed. [man error::pass5] 6.7 S x86_64 # ======= Using unoptimized mode (-u) helps here.
It might just need the /* pragma:uprobes */ ditty added.
(In reply to Frank Ch. Eigler from comment #1) > It might just need the /* pragma:uprobes */ ditty added. Yup, confirmed!
Fixed in commit 9808d86fc891468546d3a601bcb74334d9dc7c2a