This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
Re: Blacklist regex is too general
- From: David Smith <dsmith at redhat dot com>
- To: Alexander Lochmann <alexander dot lochmann at tu-dortmund dot de>, systemtap at sourceware dot org
- Date: Wed, 13 Apr 2016 10:13:29 -0500
- Subject: Re: Blacklist regex is too general
- Authentication-results: sourceware.org; auth=none
- References: <570CBC09 dot 2080608 at tu-dortmund dot de> <570D1745 dot 90506 at redhat dot com> <570D1846 dot 2060109 at tu-dortmund dot de>
On 04/12/2016 10:46 AM, Alexander Lochmann wrote:
> On 04/12/2016 05:41 PM, David Smith wrote:
>> On 04/12/2016 04:12 AM, Alexander Lochmann wrote:
>>> Hi folks!
>>>
>>> I've wanted to measure the impact of packet duplication due to a raw socket.
>>> To do so, I have to probe the kernel function 'raw_v4_input' in
>>> net/ipv4/raw.c.
>>> Unfortunately, the function name matches the regex defined at
>>> dwflpp:4324, which is: blfn += "|raw_.*";.
>>> On my opinion, the regex is too general, and there is no reason why it
>>> shouldn't be allowed to probe 'raw_v4_input'.
>>> It therefore might be necessary to rephrase the mentioned regex. :)
>>
>> While we think about the best way to proceed here, you should be able to
>> use '-g' (guru mode) to ignore the blacklist.
>>
> Ah. Thx. Good to know. :)
> Since I compile my own version, I simply commented that line out.
I went through several kernels trying to figure out what that blacklist
regular expression was supposed to protect us against, and couldn't find
anything. So, commit 0748ca7 removes that regexp.
<https://sourceware.org/git/gitweb.cgi?p=systemtap.git;a=commit;h=0748ca7c7d3fbfec536cc1c38fe3deab70007fef>
Thanks for the report.
--
David Smith
dsmith@redhat.com
Red Hat
http://www.redhat.com
256.217.0141 (direct)
256.837.0057 (fax)