Summary: | --monitor mode gets 2 hits to procfs("monitor_control").write for every 1 write | ||
---|---|---|---|
Product: | systemtap | Reporter: | Ryan Goldberg <ryan.s.goldberg> |
Component: | translator | Assignee: | Unassigned <systemtap> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fche |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: |
Description
Ryan Goldberg
2022-11-17 19:19:56 UTC
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. Closed with commit 92e8ecb3329820992756bbbd3decd3d2ef4f490a |