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]

"no match" semantic error for some existing probe points


In my ppc64/2.6.18:

/root> stap -p2 -e 'probe kernel.function("ptrace_disable"){}'
# probes
kernel.function("ptrace_disable@arch/powerpc/kernel/ptrace.c:246")

/root>stap -vvv -p2 -e 'probe kernel.function("ptrace_disable@arch/powerpc/kernel/ptrace.c:246"){}'
Created temporary directory "/tmp/stapyDBwaZ"
Searched '/usr/local/share/systemtap/tapset/2.6.18/ppc64/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6.18/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6/ppc64/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/2.6/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/ppc64/*.stp', match count 1
Searched '/usr/local/share/systemtap/tapset/*.stp', match count 33
Searched '/usr/local/share/systemtap/tapset/LKET/2.6.18/ppc64/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/LKET/2.6.18/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/LKET/2.6/ppc64/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/LKET/2.6/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/LKET/ppc64/*.stp', match count 0
Searched '/usr/local/share/systemtap/tapset/LKET/*.stp', match count 19
Pass 1: parsed user script and 53 library script(s) in 580usr/0sys/670real ms.
parsed 'ptrace_disable@arch/powerpc/kernel/ptrace.c:246' -> func 'ptrace_disable', file 'arch/powerpc/kernel/ptrace.c', line 246
pattern 'kernel' matches module 'kernel'
focused on module 'kernel' = [c000000000000000-c000000000801200, bias 0]
selected source file 'arch/powerpc/kernel/ptrace.c'
pattern 'ptrace_disable' matches function 'ptrace_disable'
selected function ptrace_disable
prologue searching function 'ptrace_disable' 0xc000000000009db0-0xc000000000009dec@arch/powerpc/kernel/ptrace.c:246
checking line record 0xc000000000009db0@arch/powerpc/kernel/ptrace-common.h:67
prologue found function 'ptrace_disable' (naked) = 0xc000000000009db0
pattern 'kernel' matches module 'kernel'
semantic error: no match for probe point
while: resolving probe point kernel.function("ptrace_disable@arch/powerpc/kernel/ptrace.c:246")
Pass 2: analyzed script: 0 probe(s), 0 function(s), 0 global(s) in 640usr/60sys/789real ms.
Pass 2: analysis failed. Try again with more '-v' (verbose) options.
Running rm -rf /tmp/stapyDBwaZ



It also failed in ppc64/2.6.17.9, but succeeded in i686/2.6.18.1. Did anyone encouter similar problem before?

In addition to ptrace_disable, the following probe points also have
the same problem:
kernel.function("module_arch_cleanup@arch/powerpc/kernel/module_64.c:446")
kernel.function("pcibus_to_node@arch/powerpc/kernel/pci_64.c:1449")
kernel.function("iowrite16@arch/powerpc/kernel/iomap.c:46")
kernel.function("iowrite32@arch/powerpc/kernel/iomap.c:54")
kernel.function("flush_dcache_page@arch/powerpc/mm/mem.c:414")
kernel.function("mpic_end_ipi@arch/powerpc/sysdev/mpic.c:629")
kernel.function("oops_exit@kernel/panic.c:270")
kernel.function("sys_waitpid@kernel/exit.c:1649")
kernel.function("thread_cpu_nsleep@kernel/posix-cpu-timers.c:1544")
kernel.function("rt_mutex_destroy@kernel/rtmutex.c:910")
kernel.function("_spin_unlock@kernel/spinlock.c:306")
kernel.function("_read_unlock@kernel/spinlock.c:322")
kernel.function("_read_unlock_irq@kernel/spinlock.c:366")
kernel.function("nr_free_pagecache_pages@mm/page_alloc.c:1186")
kernel.function("kern_mount@fs/super.c:882")
kernel.function("page_symlink@fs/namei.c:2701")
kernel.function("get_inotify_watch@fs/inotify.c:103")
kernel.function("inotify_rm_watch@fs/inotify.c:714")
kernel.function("reiserfs_update_inode_transaction@fs/reiserfs/journal.c:3703")
kernel.function("indirect_decrement_key@fs/reiserfs/item_ops.c:225")
kernel.function("direntry_decrement_key@fs/reiserfs/item_ops.c:370")
kernel.function("ext3_follow_link@fs/ext3/symlink.c:27")
kernel.function("jbd_sync_bh@fs/jbd/checkpoint.c:148")
kernel.function("ext2_follow_link@fs/ext2/symlink.c:25")
kernel.function("ext2_init_security@fs/ext2/xattr_security.c:51")
kernel.function("nfs_increment_lock_seqid@fs/nfs/nfs4state.c:732")
kernel.function("blk_queue_free_tags@block/ll_rw_blk.c:891")
kernel.function("noop_merged_requests@block/noop-iosched.c:16")
kernel.function("exit_as_io_context@block/as-iosched.c:210")
kernel.function("fb_pad_aligned_buffer@drivers/video/fbmem.c:89")
kernel.function("fb_firmware_edid@drivers/video/fbmon.c:1329")
kernel.function("dummycon_dummy@drivers/video/console/dummycon.c:48")
kernel.function("MGA1064_reset@drivers/video/matrox/matroxfb_DAC1064.c:684")
kernel.function("mdio_write@drivers/net/3c59x.c:3061")
kernel.function("tg3_write32@drivers/net/tg3.c:360")
kernel.function("ide_mm_outb@drivers/ide/ide-iops.c:137")
kernel.function("ide_mm_outw@drivers/ide/ide-iops.c:147")
kernel.function("ide_mm_outl@drivers/ide/ide-iops.c:157")
kernel.function("usb_kick_khubd@drivers/usb/core/hub.c:288")
kernel.function("mon_stat_release@drivers/usb/mon/mon_stat.c:61")
kernel.function("input_link_handle@drivers/input/input.c:300")
kernel.function("dm_get@drivers/md/dm.c:1109")
kernel.function("tcp_rtt_estimator@net/ipv4/tcp_input.c:555")
kernel.function("tcp_v4_reqsk_send_ack@net/ipv4/tcp_ipv4.c:630")


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