[Bug kprobes/4183] New: kprobe.symbol_name should be const char *

jkenisto at us dot ibm dot com sourceware-bugzilla@sourceware.org
Tue Mar 13 23:06:00 GMT 2007


This is a pre-day-1 bug in the kprobe.symbol_name feature.

Kprobes doesn't scribble on the symbol_name field, so it should be const char *,
not char *.  Kprobes modules that exercise normal "const" hygiene will run afoul
of this bug.  A typical warning message is:
.../const_bug.c:36: warning: assignment discards qualifiers from pointer target type

-- 
           Summary: kprobe.symbol_name should be const char *
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: kprobes
        AssignedTo: systemtap at sources dot redhat dot com
        ReportedBy: jkenisto at us dot ibm dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4183

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Systemtap mailing list