Probing padzero problem
Paddie O'Brien
paddieobrien@gmail.com
Mon Sep 5 22:30:00 GMT 2016
Hi,
# stap -L 'kernel.function("padzero")'
kernel.function("padzero@fs/binfmt_elf.c:113") $elf_bss:long unsigned int
But when I try to probe it with:
probe kernel.function("padzero@fs/binfmt_elf.c:113")
{
printf("%s\n", probefunc())
print("0x%x\n", $elf_bss)
}
I get:
WARNING: For probing a particular line, use a .statement() probe, not .function
(): keyword at pgd.stp:1:1
source: probe kernel.function("padzero@fs/binfmt_elf.c:113")
^
semantic error: no line records for fs/binfmt_elf.c:113 [man error::dwarf] (try
:118)
semantic error: while resolving probe point: identifier 'kernel' at :1:7
source: probe kernel.function("padzero@fs/binfmt_elf.c:113")
^
semantic error: no match (similar functions: padzero, mmap_zero, d_drop, die, d
m_io)
What am I doing wrong?
Thanks.
More information about the Systemtap
mailing list