Mailinglist Archive: opensuse-kernel (131 mails)

< Previous Next >
Re: [opensuse-kernel] preload kmp failing in Kernel:stable
On Sat, Jan 22, 2011 at 11:40:21AM -0800, Greg KH wrote:
On Sat, Jan 22, 2011 at 11:31:29AM -0800, Greg KH wrote:
On Sat, Jan 22, 2011 at 08:16:47PM +0100, Michael Matz wrote:

On Sat, 22 Jan 2011, Greg KH wrote:

The preload kmp is failing again in Kernel:stable. I can't seem to
figure out where the "canonical" version of this code is at in order
to fix it.

Anyone know which repo is the "real" one? Is it the one in
Kernel:HEAD? If so, it's failing there as well :)

And please don't tell me that the only "tree" for the preload.tar.gz
file is in the build system packages, surely it's kept in a tree
somewhere else so we can track modifications for it and the like, right?

Right. Now, look at preload.spec and you'll see.

Ah, thanks, sorry, missed that.


Subversion, it's as if someone wants to keep me from making any changes
to this code...

And I can't seem to find the kernel portion of the code in that repo,
but I might be missing something...


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
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.

Ciao, Marcus
To unsubscribe, e-mail: opensuse-kernel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-kernel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups