This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Probing padzero problem
- From: "Paddie O'Brien" <paddieobrien at gmail dot com>
- To: systemtap <systemtap at sourceware dot org>
- Date: Mon, 5 Sep 2016 23:30:36 +0100
- Subject: Probing padzero problem
- Authentication-results: sourceware.org; auth=none
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.