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]

two errors - what are they?


make: Entering directory `/mnt/hd0/download/linux-2.6-latest'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
         \
        echo;                                                           \
        echo "  ERROR: Kernel configuration is invalid.";               \
        echo "         include/linux/autoconf.h or
include/config/auto.conf are missing.";      \
        echo "         Run 'make oldconfig && make prepare' on kernel
src to fix it.";  \
        echo;                                                           \
        /bin/false)
mkdir -p /tmp/stapUPbpFU/.tmp_versions ; rm -f /tmp/stapUPbpFU/.tmp_versions/*

In file included from
/usr/local/share/systemtap/runtime/transport/transport.c:22,
                 from /usr/local/share/systemtap/runtime/print.c:17,
                 from /usr/local/share/systemtap/runtime/runtime.h:82,
                 from
/tmp/stapUPbpFU/stap_c66f5dd7a04c04cec436cf10e277f00a_12235.c:41:
/usr/local/share/systemtap/runtime/transport/symbols.c: In function
'_stp_load_module_symbols':
/usr/local/share/systemtap/runtime/transport/symbols.c:407: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:425: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:427: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:456: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:457: error:
dereferencing pointer to incomplete type
/usr/local/share/systemtap/runtime/transport/symbols.c:460: error:
dereferencing pointer to incomplete type
 _stp_module_exists_delete _stp_ins_module _stp_module_load_notify
_stp_init_modules _stp_rmdir_proc_module _stp_

and my script is:

probe kernel.function("*@mm/swapfile.c").call {
        printf ("%s -> %s\n", thread_indent(1), probefunc())
        print_backtrace();
        printf("\n");
}
probe kernel.function("*@mm/swapfile.c").return {
        printf ("%s <- %s\n", thread_indent(-1), probefunc())
        printf("\n");
}

Command I used is just stap -vvvv xxxxx.stp

-- 
Regards,
Peter Teoh


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