Mailinglist Archive: opensuse-kernel (131 mails)
| < Previous | Next > |
Re: [opensuse-kernel] preload kmp failing in Kernel:stable
- From: Greg KH <gregkh@xxxxxxx>
- Date: Mon, 24 Jan 2011 04:20:38 +0900
- Message-id: <20110123192038.GA8663@suse.de>
On Sun, Jan 23, 2011 at 09:28:33AM +0100, Marcus Meissner wrote:
Thanks for the help.
As I'm stuck in Tokyo due to plane problems, I tried to take some time
to look into fixing it. Building the preload module from the svn tree
seems to work fine, but from the spec file, it dies with the following
errors:
/tmp/stapr2YkJ8/preloadtrace.c: In function 'function_gettimeofday_ns':
/tmp/stapr2YkJ8/preloadtrace.c:2291:3: error: implicit declaration of
function '_stp_gettimeofday_ns'
/tmp/stapr2YkJ8/preloadtrace.c: In function 'systemtap_module_init':
/tmp/stapr2YkJ8/preloadtrace.c:5448:3: error: implicit declaration of
function '_stp_init_time'
/tmp/stapr2YkJ8/preloadtrace.c:5703:4: error: implicit declaration of
function '_stp_kill_time'
make[3]: *** [/tmp/stapr2YkJ8/preloadtrace.o] Error 1
Which kind of implies that it's a system tap issue somewhere. Do we
need to update the system tap version in Kernel:HEAD somehow?
Anyone have any ideas?
thanks,
greg k-h
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
The build does:
mkdir source
cp stap/preloadtrace.stp stap/Kbuild source
touch source/preloadtrace.c
kernels=`cd /usr/lib/debug/lib/modules && ls -1d *-$flavor `
cp -r source obj/$flavor
make -C /usr/src/linux-obj/%_target_cpu/$flavor modules
M=$PWD/obj/$flavor
stap -p 4 -DMAXSTRINGSIZE=300 -DMAXSKIPPED=2000 -r $kernels -m
preloadtrace obj/$flavor/preloadtrace.stp
mv preloadtrace.ko obj/$flavor
So I guess it is basically building on an empty .c file but with stap script
in.
Thanks for the help.
As I'm stuck in Tokyo due to plane problems, I tried to take some time
to look into fixing it. Building the preload module from the svn tree
seems to work fine, but from the spec file, it dies with the following
errors:
/tmp/stapr2YkJ8/preloadtrace.c: In function 'function_gettimeofday_ns':
/tmp/stapr2YkJ8/preloadtrace.c:2291:3: error: implicit declaration of
function '_stp_gettimeofday_ns'
/tmp/stapr2YkJ8/preloadtrace.c: In function 'systemtap_module_init':
/tmp/stapr2YkJ8/preloadtrace.c:5448:3: error: implicit declaration of
function '_stp_init_time'
/tmp/stapr2YkJ8/preloadtrace.c:5703:4: error: implicit declaration of
function '_stp_kill_time'
make[3]: *** [/tmp/stapr2YkJ8/preloadtrace.o] Error 1
Which kind of implies that it's a system tap issue somewhere. Do we
need to update the system tap version in Kernel:HEAD somehow?
Anyone have any ideas?
thanks,
greg k-h
--
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx
| < Previous | Next > |