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 kprobes/4183] New: kprobe.symbol_name should be const char *


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.


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