FS#30869 - [linux] 3.5.x Please enable uprobes

Attached to Project: Arch Linux
Opened by Marti (intgr) - Thursday, 26 July 2012, 20:59 GMT
Last edited by Tobias Powalowski (tpowa) - Monday, 30 July 2012, 06:25 GMT
Task Type Feature Request
Category Packages: Testing
Status Closed
Assigned To Tobias Powalowski (tpowa)
Thomas Bächler (brain0)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: Linux kernel 3.5 introduced a new feature for profiling/tracing user space code, called Uprobes.

In order to use this, the CONFIG_UPROBE_EVENT config flag needs to be enabled.

Additional info:
* package version(s)
3.5.0-1-ARCH

Steps to reproduce:
perf probe -x /lib/libc.so.6 malloc
/sys/kernel/debug//tracing/uprobe_events file does not exist - please rebuild kernel with CONFIG_UPROBE_EVENTS.
Error: Failed to add events. (-1)

zgrep UPROBE /proc/config.gz
CONFIG_ARCH_SUPPORTS_UPROBES=y
# CONFIG_UPROBE_EVENT is not set
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Monday, 30 July 2012, 06:25 GMT
Reason for closing:  Implemented
Additional comments about closing:  3.5-2
Comment by Dave Reisner (falconindy) - Friday, 27 July 2012, 17:50 GMT
You've left out the part where this feature is marked experimental.
Comment by Tobias Powalowski (tpowa) - Friday, 27 July 2012, 17:56 GMT
Why do we want that?
Comment by Dave Reisner (falconindy) - Friday, 27 July 2012, 18:18 GMT
To expose new functionality for the perf tool.

http://lwn.net/Articles/433568/
Comment by Marti (intgr) - Saturday, 28 July 2012, 18:03 GMT
> You've left out the part where this feature is marked experimental.

Surely not too experimental for Arch Linux... :)

Sorry if I'm stating the obvious, but the "experimental" flag is almost meaningless. These features are still fully supported by kernel developers and they are even enabled on stability-oriented "enterprise Linux" kernels. btrfs, taskstats, perf events, -fstack-protector, kexec, virtio, PPPoE, etc are all marked experimental but enabled in Arch Linux and used by many users.

Loading...