public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/12596] New: blacklist is too broad (raw_.*)
@ 2011-03-20  0:35 adrien at kunysz dot be
  2011-03-20  0:37 ` [Bug translator/12596] " adrien at kunysz dot be
  2016-05-26 17:57 ` fche at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: adrien at kunysz dot be @ 2011-03-20  0:35 UTC (permalink / raw)
  To: systemtap

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

           Summary: blacklist is too broad (raw_.*)
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: translator
        AssignedTo: systemtap@sourceware.org
        ReportedBy: adrien@kunysz.be


As reported by dpward on IRC, some functions that have no obvious reason to be
blacklisted are "hidden" by the "raw_.*" regular expression. Most notably, the
raw_sendmsg@net/ipv4/raw.c function is not accessible outside of guru mode. A
quick grep of /proc/kallsyms shows other possible casualties, the most obvious
ones being in the following files:

drivers/char/raw.c
net/ieee802154/raw.c
net/ipv4/raw.c
net/can/raw.c

The "raw_.*" filter seems to be targeted at locks but it doesn't specify which
ones so how to fix this properly isn't immediately obvious (to me).

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/12596] blacklist is too broad (raw_.*)
  2011-03-20  0:35 [Bug translator/12596] New: blacklist is too broad (raw_.*) adrien at kunysz dot be
@ 2011-03-20  0:37 ` adrien at kunysz dot be
  2016-05-26 17:57 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: adrien at kunysz dot be @ 2011-03-20  0:37 UTC (permalink / raw)
  To: systemtap

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

--- Comment #1 from Adrien Kunysz <adrien at kunysz dot be> 2011-03-20 00:37:35 UTC ---
Example of unexpected result:

# stap -l 'kernel.function("raw_sendmsg")'
semantic error: no match while resolving probe point
kernel.function("raw_sendmsg")

What is expected (as when using guru mode):

# stap -gl 'kernel.function("raw_sendmsg")'
kernel.function("raw_sendmsg@net/ipv4/raw.c:439")

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug translator/12596] blacklist is too broad (raw_.*)
  2011-03-20  0:35 [Bug translator/12596] New: blacklist is too broad (raw_.*) adrien at kunysz dot be
  2011-03-20  0:37 ` [Bug translator/12596] " adrien at kunysz dot be
@ 2016-05-26 17:57 ` fche at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fche at redhat dot com @ 2016-05-26 17:57 UTC (permalink / raw)
  To: systemtap

https://sourceware.org/bugzilla/show_bug.cgi?id=12596

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |fche at redhat dot com
         Resolution|---                         |FIXED

--- Comment #2 from Frank Ch. Eigler <fche at redhat dot com> ---
raw_* was just removed from the blacklist

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-05-26 17:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-03-20  0:35 [Bug translator/12596] New: blacklist is too broad (raw_.*) adrien at kunysz dot be
2011-03-20  0:37 ` [Bug translator/12596] " adrien at kunysz dot be
2016-05-26 17:57 ` fche at redhat 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).