This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2
- From: "fche at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sourceware dot org
- Date: Fri, 07 Sep 2012 16:45:13 +0000
- Subject: [Bug runtime/14555] New: tolerate /proc/sys/kernel/kptr_restrict=2
- Auto-submitted: auto-generated
http://sourceware.org/bugzilla/show_bug.cgi?id=14555
Bug #: 14555
Summary: tolerate /proc/sys/kernel/kptr_restrict=2
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: runtime
AssignedTo: systemtap@sourceware.org
ReportedBy: fche@redhat.com
Classification: Unclassified
It was reported that staprun's search for _stext is frustrated by
/proc/sys/kernel/kptr_restrict = 2, which leads to kernel kprobes to being
unrelocatable and thus un-emplaceable.
We should do better. staprun could detect & change that flag temporarily. The
runtime could attempt to use kallsyms_lookup to find _stext self-sufficiently.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.