This series includes several patches related to accessing
trace_event_file from a file struct. The first two patches are fixes for
edge cases, the remaining patches are minor cleanups.

Changes since v2 [1]:
* Split the first patch related to hist event files into two: one that
  corrects the trace_event_file access method and another that ensures
  pollers are woken up when the watched event is removed.

Changes since v1 [2]:
* Fix a compilation error when CONFIG_HIST_TRIGGERS is not set.
* Drop a patch that references the trace_event_file data in
  event_file_data() and keep the simpler implementation of storing the
  id in i_private.
* Inline event_file_data() into event_id_read() to enable adding
  additional checks to the former.

[1] 
https://lore.kernel.org/linux-trace-kernel/[email protected]/
[2] 
https://lore.kernel.org/linux-trace-kernel/[email protected]/

Petr Pavlu (5):
  tracing: Fix checking of freed trace_event_file for hist files
  tracing: Wake up poll waiters for hist files when removing an event
  tracing: Remove unnecessary check for EVENT_FILE_FL_FREED
  tracing: Clean up access to trace_event_file from a file pointer
  tracing: Free up file->private_data for use by individual events

 include/linux/trace_events.h     |  5 +++++
 kernel/trace/trace.c             |  2 --
 kernel/trace/trace.h             | 17 +++++++++++------
 kernel/trace/trace_events.c      | 17 ++++++++---------
 kernel/trace/trace_events_hist.c |  8 ++------
 5 files changed, 26 insertions(+), 23 deletions(-)


base-commit: 2b7a25df823dc7d8f56f8ce7c2d2dac391cea9c2
-- 
2.53.0


Reply via email to