[Bug bpf/23510] Tapset function println() not supported in the bpf runtime

me at serhei dot io sourceware-bugzilla@sourceware.org
Fri Aug 17 15:45:00 GMT 2018


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

Serhei Makarov <me at serhei dot io> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |me at serhei dot io
         Resolution|---                         |FIXED
           Assignee|systemtap at sourceware dot org    |me at serhei dot io

--- Comment #1 from Serhei Makarov <me at serhei dot io> ---
println() is now supported in upstream git with the latest string handling
code.

Commit 80b95e4 allowed string literals in other places than printf(), enabling
the already existing visit_print_format implementation to handle print and
println in addition to printf.

Commit 9b58c9b fixes a bug where the println() implementation would fail to
'tag' its format string properly for the transport layer, causing a segfault in
the bpf userspace interpreter when it tried to strip the nonexistent tag.

Related issues are PR23405 (string support), PR21888 (support other logging
functions).

I have personally confirmed the 'hello world' use case to work ;)

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


More information about the Systemtap mailing list