mbox series

[v2,0/3] tracing: Simplify and fix "buffered event" synchronization

Message ID 20231205161736.19663-1-petr.pavlu@suse.com (mailing list archive)
Headers show
Series tracing: Simplify and fix "buffered event" synchronization | expand

Message

Petr Pavlu Dec. 5, 2023, 4:17 p.m. UTC
Fix a few problems related to the maintenance of buffered events.

Changes since v1 [1]:
* Address found problems individually. The approach in v1 tried to
  simplify the buffered event synchronization but had performance
  issues.

[1] https://lore.kernel.org/linux-trace-kernel/20231127151248.7232-1-petr.pavlu@suse.com/

Petr Pavlu (3):
  tracing: Fix incomplete locking when disabling buffered events
  tracing: Fix a warning when allocating buffered events fails
  tracing: Fix a possible race when disabling buffered events

 kernel/trace/trace.c | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)


base-commit: bee0e7762ad2c6025b9f5245c040fcc36ef2bde8