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 bpf/23510] Tapset function println() not supported in the bpf runtime


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.

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