[Bug translator/29801] --monitor mode gets 2 hits to procfs("monitor_control").write for every 1 write

fche at redhat dot com sourceware-bugzilla@sourceware.org
Thu Nov 17 19:38:55 GMT 2022


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

Frank Ch. Eigler <fche at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fche at redhat dot com

--- Comment #1 from Frank Ch. Eigler <fche at redhat dot com> ---
Nice analysis.

I suspect the problem originates from the setup_timeout() code that implements
the stap -T NNN function.  Its join_group etc. stuff was probably buggy, and
was copy-pasted into the monitor-related synthetic probe stuff.

I think the right fix there is to drop the dp->join_group(s); in each of those
clones, because synthetic derived_probe objects are joined at the other area
you found.

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


More information about the Systemtap mailing list