Got a chance to retest against an officially built kernel and dbgsym, the technique works, so
now all that's left is to independently verify the entire patch on a new build and call
it done.
root@ubuntu:~# uname -a
Linux ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
cat > /etc/apt/sources.list.d/ddebs.list << EOF
deb http://ddebs.ubuntu.com/ precise main restricted universe multiverse
EOF
Got a chance to retest against an officially built kernel and dbgsym, the technique works, so
now all that's left is to independently verify the entire patch on a new build and call
it done.
root@ubuntu:~# uname -a
Linux ubuntu 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
cat > /etc/apt/ sources. list.d/ ddebs.list << EOF ddebs.ubuntu. com/ precise main restricted universe multiverse
deb http://
EOF
apt-key adv --keyserver keyserver. ubuntu. com --recv-keys ECDCAD72428D7C01
apt-get update
apt-get install linux-image-$(uname -r)-dbgsym
serio=' /lib/modules/ 3.2.0-23- generic/ kernel/ drivers/ input/serio/ serio_raw. ko' lib/debug/ lib/modules/ 3.2.0-23- generic/ kernel/ drivers/ input/serio/ serio_raw. ko'
dbg='/usr/
objcopy --add-gnu- debuglink= $dbg $serio
objdump -h $serio | grep -A2 debuglink
root@ubuntu:~# stap -l 'module( "serio_ raw").function( "*")' "serio_ raw").function( "INIT_LIST_ HEAD@/build/ buildd/ linux-3. 2.0/include/ linux/list. h:24") "serio_ raw").function( "__list_ add@/build/ buildd/ linux-3. 2.0/include/ linux/list. h:37") "serio_ raw").function( "__list_ del@/build/ buildd/ linux-3. 2.0/include/ linux/list. h:86") "serio_ raw").function( "__list_ del_entry@ /build/ buildd/ linux-3. 2.0/include/ linux/list. h:99")
module(
module(
module(
module(
...
any other module I try to probe comes up empty.