Comment 13 for bug 669641

Revision history for this message
Peter Petrakis (peter-petrakis) wrote :

@Chris, this doesn't work.

BTW, you don't have to bounce this back to me to verify, this is
a one line test, either the probed module will return a list of
entry points, or it won't. Also, please provide the main "headers"
package next time, the archive is marching on and deleted the
last build.

root@ubuntu:~# uname -a
Linux ubuntu 3.4.0-3-generic #7~lp669641v201205242144 SMP Thu May 24 21:45:43 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

root@ubuntu:~# stap -l 'module("psmouse").function("*")'
root@ubuntu:~#

There's no debug links section either.

root@ubuntu:~# objdump -h /lib/modules/3.4.0-3-generic/kernel/drivers/input/mouse/psmouse.ko
/lib/modules/3.4.0-3-generic/kernel/drivers/input/mouse/psmouse.ko: file format elf64-x86-64

Sections:
Idx Name Size VMA LMA File off Algn
  0 .note.gnu.build-id 00000024 0000000000000000 0000000000000000 00000040 2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  1 .text 0000ca84 0000000000000000 0000000000000000 00000070 2**4
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  2 .init.text 000000cb 0000000000000000 0000000000000000 0000caf4 2**0
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  3 .exit.text 0000001e 0000000000000000 0000000000000000 0000cbbf 2**0
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  4 .rodata 000005f0 0000000000000000 0000000000000000 0000cbe0 2**5
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
  5 .rodata.str1.1 00000522 0000000000000000 0000000000000000 0000d1d0 2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  6 .rodata.str1.8 00000f3d 0000000000000000 0000000000000000 0000d6f8 2**3
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  7 .parainstructions 0000007c 0000000000000000 0000000000000000 0000e638 2**3
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
  8 .modinfo 00000330 0000000000000000 0000000000000000 0000e6b4 2**0
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  9 __param 000000c0 0000000000000000 0000000000000000 0000e9e8 2**3
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
 10 __mcount_loc 000004d0 0000000000000000 0000000000000000 0000eaa8 2**3
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
 11 .init.rodata 00001998 0000000000000000 0000000000000000 0000ef80 2**5
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
 12 __bug_table 0000000c 0000000000000000 0000000000000000 00010918 2**0
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
 13 .smp_locks 00000010 0000000000000000 0000000000000000 00010924 2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, DATA
 14 __versions 00001400 0000000000000000 0000000000000000 00010940 2**5
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
 15 .data 00000e90 0000000000000000 0000000000000000 00011d40 2**5
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
 16 .gnu.linkonce.this_module 00000258 0000000000000000 0000000000000000 00012be0 2**5
                  CONTENTS, ALLOC, LOAD, RELOC, DATA, LINK_ONCE_DISCARD
 17 .bss 00000028 0000000000000000 0000000000000000 00012e38 2**3
                  ALLOC
 18 .comment 00000183 0000000000000000 0000000000000000 00012e38 2**0
                  CONTENTS, READONLY
 19 .note.GNU-stack 00000000 0000000000000000 0000000000000000 00012fbb 2**0
                  CONTENTS, READONLY