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]

Re: Systemtap failing on ppc64 running FC6


William Cohen wrote:
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
Looks like Mike's box still runs with the older kernel 2.6.16-1.2289_FC6.


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