This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Probing padzero problem


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]