This is the mail archive of the systemtap@sourceware.org mailing list for the systemtap project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug translator/9775] New: stap must throw a warning if a script probes a __user variable


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]