* [Bug kprobes/4183] New: kprobe.symbol_name should be const char *
@ 2007-03-13 23:06 jkenisto at us dot ibm dot com
2007-03-13 23:11 ` [Bug kprobes/4183] " jkenisto at us dot ibm dot com
2007-03-13 23:15 ` jkenisto at us dot ibm dot com
0 siblings, 2 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2007-03-13 23:06 UTC (permalink / raw)
To: systemtap
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug kprobes/4183] kprobe.symbol_name should be const char *
2007-03-13 23:06 [Bug kprobes/4183] New: kprobe.symbol_name should be const char * jkenisto at us dot ibm dot com
@ 2007-03-13 23:11 ` jkenisto at us dot ibm dot com
2007-03-13 23:15 ` jkenisto at us dot ibm dot com
1 sibling, 0 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2007-03-13 23:11 UTC (permalink / raw)
To: systemtap
------- Additional Comments From jkenisto at us dot ibm dot com 2007-03-13 23:11 -------
Created an attachment (id=1611)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=1611&action=view)
A sample module that generates the warning
--
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug kprobes/4183] kprobe.symbol_name should be const char *
2007-03-13 23:06 [Bug kprobes/4183] New: kprobe.symbol_name should be const char * jkenisto at us dot ibm dot com
2007-03-13 23:11 ` [Bug kprobes/4183] " jkenisto at us dot ibm dot com
@ 2007-03-13 23:15 ` jkenisto at us dot ibm dot com
1 sibling, 0 replies; 3+ messages in thread
From: jkenisto at us dot ibm dot com @ 2007-03-13 23:15 UTC (permalink / raw)
To: systemtap
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|systemtap at sources dot |ananth at in dot ibm dot com
|redhat dot com |
Status|NEW |ASSIGNED
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-03-13 23:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-03-13 23:06 [Bug kprobes/4183] New: kprobe.symbol_name should be const char * jkenisto at us dot ibm dot com
2007-03-13 23:11 ` [Bug kprobes/4183] " jkenisto at us dot ibm dot com
2007-03-13 23:15 ` jkenisto at us dot ibm dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).