stap hangs with broad wildcards

Frank Ch. Eigler fche@redhat.com
Mon Nov 22 16:15:00 GMT 2010


This problem sounds like <http://sourceware.org/PR2725>, and usually
represents a latent kernel problem (in the kprobes or related APIs)
rather than a bug in systemtap.

With newer kernels, the "perf probe" interface can be used to set
kprobes at the same place where systemtap would place them, and the
same sorts of hangs/crashes tend to occur.  With older kernels such
as 2.6.32, some more work is needed to test a systemtap-free
configuration:

  git clone git://sourceware.org/git/systemtap.git
  cd systemtap/scripts/kprobes_test
  sh gen_code_all.sh
  insmod kprobe_module.ko
  <bang>

- FChE



More information about the Systemtap mailing list