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 translator/16955] New: blacklisting requires better feedback


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

            Bug ID: 16955
           Summary: blacklisting requires better feedback
           Product: systemtap
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: translator
          Assignee: systemtap at sourceware dot org
          Reporter: jlebon at redhat dot com

When a function is omitted because it is blacklisted, there is no useful
feedback:

$ stap -e 'probe kernel.function("do_symlink") { next }'
semantic error: while resolving probe point: identifier 'kernel' at :1:7
        source: probe kernel.function("do_symlink") { next }
                      ^

semantic error: no match (similar functions: do_symlink, add_symlink,
del_symlink, do_setlink, SyS_symlink)
Pass 2: analysis failed.  [man error::pass2]
$

It's especially confusing because do_symlink is listed in the list of
alternatives. We should provide some indication as to why there was no match.

There is already some output hidden behind -vv to show that it is blacklisted:

...
probe do_symlink@init/initramfs.c:364 kernel reloc=.dynamic
pc=0xffffffff81d2116e init/exit - skipped
...

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


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