LWN: Comments on "User events — but not quite yet" https://lwn.net/Articles/889607/ This is a special feed containing comments posted to the individual LWN article titled "User events — but not quite yet". en-us Wed, 17 Sep 2025 17:55:06 +0000 Wed, 17 Sep 2025 17:55:06 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net User events — but not quite yet https://lwn.net/Articles/892846/ https://lwn.net/Articles/892846/ anton It seems to me that the proposed mechanism is expensive when an event is actually monitored: one writev() system call per event. This will limit the uptake even if it gets accepted. Wed, 27 Apr 2022 18:01:50 +0000 User events — but not quite yet https://lwn.net/Articles/892007/ https://lwn.net/Articles/892007/ net_benji <div class="FormattedComment"> Alexei gave reasons for his disapproval in another thread:<br> <a href="https://lore.kernel.org/linux-trace-devel/CAADnVQJFjXDvqMpgb9M6GKwH+mNjR+Ws4y1PhWkiB2raWyOkZw@mail.gmail.com/T/#m569b4efedaa0c4b676c3142e5aa7921a792c6d67">https://lore.kernel.org/linux-trace-devel/CAADnVQJFjXDvqM...</a><br> <p> <font class="QuotedText">&gt; The whole user_events feature looks redundant to me.</font><br> <font class="QuotedText">&gt; We have uprobes and usdt. It doesn&#x27;t look to me that</font><br> <font class="QuotedText">&gt; user_events provide anything new that wasn&#x27;t available earlier.</font><br> </div> Wed, 20 Apr 2022 08:05:32 +0000 User events — but not quite yet https://lwn.net/Articles/891960/ https://lwn.net/Articles/891960/ lathiat <div class="FormattedComment"> Note that USDT probes can also be defined using headers from systemtap (sys/sdt.h - systemtap-sdt-dev{el,}) but it doesn&#x27;t actually require systemtap to use it&#x27;s just where the headers live.<br> <p> This library generally is GPLv2-only licensed but the relevant sys/sdt.h file is &quot;dedicated to the public domain, pursuant to CC0 (<a href="https://creativecommons.org/publicdomain/zero/1.0/">https://creativecommons.org/publicdomain/zero/1.0/</a>)&quot;<br> <p> It uses the same definitions and is source-compatible with the definitions from DTRACE (so the macros are named DTRACE_*):<br> <a href="https://sourceware.org/systemtap/wiki/AddingUserSpaceProbingToApps">https://sourceware.org/systemtap/wiki/AddingUserSpaceProb...</a><br> <a href="https://sourceware.org/systemtap/wiki/UserSpaceProbeImplementation">https://sourceware.org/systemtap/wiki/UserSpaceProbeImple...</a><br> <p> </div> Wed, 20 Apr 2022 06:27:23 +0000 User events — but not quite yet https://lwn.net/Articles/891895/ https://lwn.net/Articles/891895/ geert <div class="FormattedComment"> The first thing that struck me was the implicit gap between the size and name_args fields. The gap may or may not be present, depending on the alignment rules of an architecture.<br> </div> Tue, 19 Apr 2022 18:01:26 +0000 User events — but not quite yet https://lwn.net/Articles/891758/ https://lwn.net/Articles/891758/ alison <div class="FormattedComment"> Why is the new mechanism better than uprobes, which have easy-to-use BPF support via the USDT facility in the folly library: <br> <p> <a href="https://github.com/facebook/folly/tree/main/folly/tracing">https://github.com/facebook/folly/tree/main/folly/tracing</a><br> <p> Compiling against all of folly to get the userspace tracing would be a pain, but the code is Apache-licensed, so perhaps that is not necessary.<br> </div> Tue, 19 Apr 2022 04:08:01 +0000 User events — but not quite yet https://lwn.net/Articles/891751/ https://lwn.net/Articles/891751/ pbonzini <div class="FormattedComment"> I&#x27;m confused, why was this included at all in a pull request? Also Starovoitov&#x27;s message (<a href="https://lwn.net/ml/linux-kernel/CAADnVQK=GCuhTHz=iwv0r7Y37gYvt_UBzkfFJmNT+uR0z+7Myw@mail.gmail.com/#t">https://lwn.net/ml/linux-kernel/CAADnVQK=GCuhTHz=iwv0r7Y3...</a>) completely lacks a description of _why_ the eBPF interface is bad.<br> <p> All maintainers have a bad day every now and then, but this really looks like a bad example of kernel development.<br> </div> Mon, 18 Apr 2022 22:33:25 +0000