This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/9775] New: stap must throw a warning if a script probes a __user variable
- From: "prerna at linux dot vnet dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 22 Jan 2009 05:25:47 -0000
- Subject: [Bug translator/9775] New: stap must throw a warning if a script probes a __user variable
- Reply-to: sourceware-bugzilla at sourceware dot org
It'd be good to have the translator throw a warning if a script probes a __user
variable, such as :
stap -vve 'probe kernel.function("sys_open"){printf("\n filename %p ",$filename)}'
This feature would be particularly handy while probing char*-- It could be
extended to directly invoke the user_string / kernel_string functions, as the
case would be.
I'm not sure how DWARF would distinguish __user variables
--
Summary: stap must throw a warning if a script probes a __user
variable
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: prerna at linux dot vnet dot ibm dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=9775
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.