Hien Nguyen wrote:
Mike Mason wrote:
/tmp/stapcewcaq/stap_10209.c:199: error: field name not in record or
union initializer
/tmp/stapcewcaq/stap_10209.c:199: error: (near initialization for
'dwarf_kprobe_probe_766')
The problem is
kprobes still not turned on by default on ppc64 version of fc6.
Which version of of the kernel is the machine running? Taking a look
at the config file in a recent version of the fc6 ppc64 kernel it
looks like kprobes is enabled. From another engineer at Red Hat who
had a ppc64 running fc6 rawhide handy:
[pauln@enki ~]$ grep KPR boot/config-2.6.17-1.2449.fc6
CONFIG_KPROBES=y
You should be able to do a "grep KPROBES /boot/config-`uname -r`" to
determine whether kprobes are enabled in the kernel.
What does stap_10209.c look like?
-Will