[Bug 1196060] systemtap fails to build simple example from docs
https://bugzilla.suse.com/show_bug.cgi?id=1196060 https://bugzilla.suse.com/show_bug.cgi?id=1196060#c3 James Fehlig <jfehlig@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(jfehlig@suse.com) | --- Comment #3 from James Fehlig <jfehlig@suse.com> --- Version 4.6 fixes the issue, thanks! Of course I had grander plans with which I'm still having problems. I'd like to dump the VMSA of a AMD SEV-ES guest with a script along the lines of # cat sev-es-vmsa.stp function dump_vmsa(addr:long) { printf("VMSA\n") for (i = 0; i < 4096 ; i+= 64) { printf("%.64M\n", addr + i); } } probe module("kvm_amd").statement("__sev_launch_update_vmsa@arch/x86/kvm/svm/sev.c:625") { dump_vmsa($svm->vmsa) } But trying to run this results in # stap -v sev-es-vmsa.stp Pass 1: parsed user script and 483 library scripts using 110832virt/101100res/7292shr/93924data kb, in 160usr/20sys/175real ms. semantic error: resolution failed in DWARF builder semantic error: while resolving probe point: identifier 'module' at sev-es-vmsa.stp:7:7 source: probe module("kvm_amd").statement("__sev_launch_update_vmsa@arch/x86/kvm/svm/sev.c:625") { ^ semantic error: no match Pass 2: analyzed script: 0 probes, 0 functions, 0 embeds, 0 globals using 112928virt/104800res/8712shr/96020data kb, in 770usr/40sys/814real ms. Pass 2: analysis failed. [man error::pass2] Not sure why it doesn't like the 'module' identifier. I tried something a bit simpler with the same result # stap -v -e 'probe module("ext4").function("*") { }' Pass 1: parsed user script and 483 library scripts using 110828virt/100900res/7092shr/93920data kb, in 150usr/20sys/173real ms. semantic error: resolution failed in DWARF builder semantic error: while resolving probe point: identifier 'module' at <input>:1:7 source: probe module("ext4").function("*") { } ^ semantic error: no match Pass 2: analyzed script: 0 probes, 0 functions, 0 embeds, 0 globals using 112924virt/104584res/8504shr/96016data kb, in 780usr/30sys/813real ms. Pass 2: analysis failed. [man error::pass2] -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com