[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#691167: linux-image-3.5-trunk-amd64: please enable CONFIG_UPROBES



Package: src:linux
Version: 3.5.5-1~experimental.1
Severity: wishlist

CONFIG_UPROBES lets systemtap place probes on user code just like
kprobes lets it to do with kernel code. Support was merged mainline in
3.5. Please consider enabling this option.


commit 654443e20dfc0617231f28a07c96a979ee1a0239
Merge: 2c01e7b 9cba26e
Author: Linus Torvalds <torvalds@linux-foundation.org>
Date:   Thu May 24 11:39:34 2012 -0700

    Merge branch 'perf-uprobes-for-linus' of
    git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
    
    Pull user-space probe instrumentation from Ingo Molnar:
     "The uprobes code originates from SystemTap and has been used for
     years
      in Fedora and RHEL kernels.  This version is much rewritten,
     reviews
      from PeterZ, Oleg and myself shaped the end result.
    
      This tree includes uprobes support in 'perf probe' - but SystemTap
      (and other tools) can take advantage of user probe points as well.
    
      Sample usage of uprobes via perf, for example to profile malloc()
      calls without modifying user-space binaries.
    
      First boot a new kernel with CONFIG_UPROBE_EVENT=y enabled.
    
      If you don't know which function you want to probe you can pick
      one
      from 'perf top' or can get a list all functions that can be probed
      within libc (binaries can be specified as well):
    
        $ perf probe -F -x /lib/libc.so.6




-- Package-specific info:
** Version:
Linux version 3.5-trunk-amd64 (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-10) ) #1 SMP Debian 3.5.5-1~experimental.1

** Command line:
root=UUID=ee66b917-5151-4a4b-944a-99385b7d4d62 ro init=/bin/systemd 

** Not tainted

** Kernel log:
[    0.022119] Grant table initialized
[    0.022119] dummy: 
[    0.022119] NET: Registered protocol family 16
[    0.022119] PCI: setting up Xen PCI frontend stub
[    0.022119] PCI: pci_cache_line_size set to 64 bytes
[    0.022119] bio: create slab <bio-0> at 0
[    0.024052] ACPI: Interpreter disabled.
[    0.024068] xen/balloon: Initialising balloon driver.
[    0.024068] xen-balloon: Initialising balloon driver.
[    0.024068] vgaarb: loaded
[    0.024068] PCI: System does not support PCI
[    0.024068] PCI: System does not support PCI
[    0.024147] Switching to clocksource xen
[    0.025496] pnp: PnP ACPI: disabled
[    0.028530] NET: Registered protocol family 2
[    0.028660] IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
[    0.029267] TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
[    0.029903] TCP bind hash table entries: 65536 (order: 8, 1048576 bytes)
[    0.030169] TCP: Hash tables configured (established 131072 bind 65536)
[    0.030178] TCP: reno registered
[    0.030196] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.030208] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.030339] NET: Registered protocol family 1
[    0.030353] PCI: CLS 0 bytes, default 64
[    0.030386] Unpacking initramfs...
[    0.061906] Freeing initrd memory: 30480k freed
[    0.070084] platform rtc_cmos: >registered platform RTC device (no PNP device found)
[    0.070481] audit: initializing netlink socket (disabled)
[    0.070500] type=2000 audit(1350907337.850:1): initialized
[    0.080465] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[    0.080779] VFS: Disk quotas dquot_6.5.2
[    0.080806] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[    0.080871] msgmni has been set to 1989
[    0.081088] alg: No test for stdrng (krng)
[    0.081141] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.081149] io scheduler noop registered
[    0.081151] io scheduler deadline registered
[    0.081176] io scheduler cfq registered (default)
[    0.081219] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[    0.081236] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[    0.081240] acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.5
[    0.197288] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[    0.197583] Linux agpgart interface v0.103
[    0.197659] i8042: PNP: No PS/2 controller found. Probing ports directly.
[    0.198468] i8042: No controller found
[    0.198627] mousedev: PS/2 mouse device common for all mice
[    0.258333] rtc_cmos rtc_cmos: >rtc core: registered rtc_cmos as rtc0
[    0.258461] rtc_cmos: probe of rtc_cmos failed with error -38
[    0.258535] drop_monitor: Initializing network drop monitor service
[    0.258598] TCP: cubic registered
[    0.258679] NET: Registered protocol family 10
[    0.258835] mip6: Mobile IPv6
[    0.258840] NET: Registered protocol family 17
[    0.258852] Key type dns_resolver registered
[    0.259007] PM: Hibernation image not present or could not be loaded.
[    0.259013] registered taskstats version 1
[    0.259030] XENBUS: Device with no driver: device/vbd/51712
[    0.259033] XENBUS: Device with no driver: device/vif/0
[    0.259120] /home/blank/debian/kernel/release/linux/linux-3.5.5/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[    0.259409] Freeing unused kernel memory: 580k freed
[    0.259538] Write protecting the kernel read-only data: 6144k
[    0.261884] Freeing unused kernel memory: 588k freed
[    0.262356] Freeing unused kernel memory: 640k freed
[    0.287831] udevd[59]: starting version 175
[    0.304185] Initialising Xen virtual ethernet driver.
[    0.345765] blkfront: xvda: barrier: enabled
[    0.347233]  xvda: unknown partition table
[    0.483694] kjournald starting.  Commit interval 5 seconds
[    0.483715] EXT3-fs (xvda): mounted filesystem with ordered data mode
[    1.100441] loop: module loaded
[    1.325742] udevd[183]: starting version 175
[    1.599925] microcode: CPU0: patch_level=0x010000bf
[    1.612552] input: PC Speaker as /devices/platform/pcspkr/input/input0
[    1.621203] powernow-k8: Found 1 AMD Phenom(tm) II X6 1090T Processor (4 cpu cores) (version 2.20.00)
[    1.621227] powernow-k8: Core Performance Boosting: on.
[    1.631267] microcode: failed to load file amd-ucode/microcode_amd.bin
[    1.631395] microcode: CPU1: patch_level=0x010000bf
[    1.632791] powernow-k8: Found 1 AMD Phenom(tm) II X6 1090T Processor (4 cpu cores) (version 2.20.00)
[    1.632819] powernow-k8: Core Performance Boosting: on.
[    1.635658] EXT3-fs (xvda): using internal journal
[    1.641115] microcode: failed to load file amd-ucode/microcode_amd.bin
[    1.641139] microcode: CPU2: patch_level=0x010000bf
[    1.645309] microcode: failed to load file amd-ucode/microcode_amd.bin
[    1.645329] microcode: CPU3: patch_level=0x010000bf
[    1.649560] microcode: failed to load file amd-ucode/microcode_amd.bin
[    1.649647] microcode: Microcode Update Driver: v2.00 <tigran@aivazian.fsnet.co.uk>, Peter Oruba
[    1.650163] powernow-k8: Found 1 AMD Phenom(tm) II X6 1090T Processor (4 cpu cores) (version 2.20.00)
[    1.650182] powernow-k8: Core Performance Boosting: on.
[    1.655951] Error: Driver 'pcspkr' is already registered, aborting...
[    1.941753] RPC: Registered named UNIX socket transport module.
[    1.941767] RPC: Registered udp transport module.
[    1.941770] RPC: Registered tcp transport module.
[    1.941773] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.946956] FS-Cache: Loaded
[    1.950657] NFS: Registering the id_resolver key type
[    1.950674] Key type id_resolver registered
[    1.950677] Key type id_legacy registered
[    1.950685] FS-Cache: Netfs 'nfs' registered for caching
[    1.955653] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    3.423897] softdog: Software Watchdog Timer: 0.08 initialized. soft_noboot=0 soft_margin=60 sec soft_panic=0 (nowayout=0)

** Model information
not available

** Loaded modules:
binfmt_misc
softdog
nfsd
nfs
nfs_acl
auth_rpcgss
fscache
lockd
sunrpc
evdev
snd_pcm_oss
snd_mixer_oss
snd_pcm
mperf
processor
thermal_sys
snd_page_alloc
snd_timer
snd
soundcore
pcspkr
microcode
loop
autofs4
ext3
mbcache
jbd
virtio_rng
rng_core
virtio_net
virtio_blk
virtio_balloon
virtio_pci
virtio_ring
virtio
xen_blkfront
xen_netfront

** PCI devices:

** USB devices:
not available


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.5-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages linux-image-3.5-trunk-amd64 depends on:
ii  debconf [debconf-2.0]                   1.5.46
ii  initramfs-tools [linux-initramfs-tool]  0.109
ii  kmod                                    9-2
ii  linux-base                              3.5
ii  module-init-tools                       9-2

Versions of packages linux-image-3.5-trunk-amd64 recommends:
ii  firmware-linux-free  3.1

Versions of packages linux-image-3.5-trunk-amd64 suggests:
pn  debian-kernel-handbook  <none>
ii  grub-pc                 1.99-23
pn  linux-doc-3.5           <none>

Versions of packages linux-image-3.5-trunk-amd64 is related to:
pn  firmware-atheros        <none>
pn  firmware-bnx2           <none>
pn  firmware-bnx2x          <none>
pn  firmware-brcm80211      <none>
pn  firmware-intelwimax     <none>
pn  firmware-ipw2x00        <none>
pn  firmware-ivtv           <none>
pn  firmware-iwlwifi        <none>
pn  firmware-libertas       <none>
pn  firmware-linux          <none>
pn  firmware-linux-nonfree  <none>
pn  firmware-myricom        <none>
pn  firmware-netxen         <none>
pn  firmware-qlogic         <none>
pn  firmware-ralink         <none>
pn  firmware-realtek        <none>
pn  xen-hypervisor          <none>

-- debconf information:
  linux-image-3.5-trunk-amd64/postinst/missing-firmware-3.5-trunk-amd64:
  linux-image-3.5-trunk-amd64/postinst/ignoring-ramdisk:
  linux-image-3.5-trunk-amd64/prerm/removing-running-kernel-3.5-trunk-amd64: true
  linux-image-3.5-trunk-amd64/postinst/depmod-error-initrd-3.5-trunk-amd64: false


Reply to: