tracing/osnoise: Synchronization fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest10 patches 8 repliesIn review
- v610 patches 2 repliesSuperseded
- v5 posting 2/20 of 9 patches 0 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v5 posting 1/2 | 8 patches | 0 replies | Superseded | |
| v4 | 9 patches | 1 reply | Superseded | |
| v3 | 9 patches | 0 replies | Superseded | |
| v2 | 9 patches | 0 replies | Superseded | |
| v1 | 4 patches | 7 replies | Superseded |
Changes in v7 from the cover letter
- Fix temporary build break in patch 2, with a change in patch 1
- Other Sashiko-driven updates to patches 5 and 6
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | tracing/osnoise: Variable cleanupkernel/ | +32 | 1 reply | |
| 2/10 | tracing/osnoise: start_kthread: Always check OSN_WORKLOADkernel/ | +7 | 1 reply | |
| 3/10 | tracing/osnoise: Start all eligible cpus from hotplug workfnkernel/ | +6 | 0 replies | |
| 4/10 | tracing/osnoise: Hold a ref on osn->kthreadkernel/ | +4 | 0 replies | |
| 5/10 | tracing/osnoise: Per-cpu mutexes and fd detachmentDocumentation/ kernel/ | +203 | 3 replies | |
| 6/10 | tracing/osnoise: Reset cleanupkernel/ | +61 | 2 replies | |
| 7/10 | tracing/osnoise: kthreads: Verify CPU after migrate_disable()kernel/ | +18 | 0 replies | |
| 8/10 | tracing/osnoise: Take trace_types_lock in timerlat_fd_openkernel/ | +10 | 1 reply | |
| 9/10 | tracing/osnoise: Print taint message for timerlatkernel/ | +6 | 0 replies | |
| 10/10 | tracing/osnoise: Refuse timerlat fd open if tracer inactivekernel/ | +2 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v7 yet.
Cover letter [PATCH v7 00/10] tracing/osnoise: Synchronization fixes
Various improvements to synchronization in osnoise/timerlat.
v7:
- Fix temporary build break in patch 2, with a change in patch 1
- Other Sashiko-driven updates to patches 5 and 6
v6:
- Revived the "Always check OSN_WORKLOAD" and "Split out per-cpu variable resets" patches, with fixes, to address minor issues raised by Sashiko
- Other minor Sashiko-requseted fixes
https://lore.kernel.org/all/[email protected]/
v5:
- Removed "Split out per-cpu variable resets" due to Sashiko feedback about races with NMIs and other tracing hooks; the main motivation for that patch was problems with osn->sampling and tlat->thread, both of which are now explicitly cleared.
- Fixed some patch shuffling bugs in fd detachment that were revealed by dropping the reset patch
- Added "Start all eligible cpus from hotplug workfn"
- Removed "Always check OSN_WORKLOAD" which is no longer needed after the hotplug workfn patch
https://lore.kernel.org/all/[email protected]/
v4: fixed a problem with the v3 fix spotted by Sashiko
https://lore.kernel.org/all/[email protected]/
v3: make sure osn->sampling gets cleared on stop, even for non-workload osnoise (reported by Sashiko)
https://lore.kernel.org/all/[email protected]/
v2: addresses issues raised by Sashiko, as well as a few more problems discovered in additional testing.
https://lore.kernel.org/all/[email protected]/
v1: https://lore.kernel.org/all/[email protected]/
Crystal Wood (10):
tracing/osnoise: Variable cleanup
tracing/osnoise: start_kthread: Always check OSN_WORKLOAD tracing/osnoise: Start all eligible cpus from hotplug workfn tracing/osnoise: Hold a ref on osn->kthread tracing/osnoise: Per-cpu mutexes and fd detachment tracing/osnoise: Reset cleanup
tracing/osnoise: kthreads: Verify CPU after migrate_disable() tracing/osnoise: Take trace_types_lock in timerlat_fd_open tracing/osnoise: Print taint message for timerlat tracing/osnoise: Refuse timerlat fd open if tracer inactive
Documentation/trace/timerlat-tracer.rst | 5 +- kernel/trace/trace_osnoise.c | 497 ++++++++++++++---------- 2 files changed, 290 insertions(+), 212 deletions(-)
Signature · 1 line
2.56.0