tracing: Rename to "capacity"
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 0 repliesNew
- v11 patch 3 repliesSuperseded
Changes in v2 from the cover letter
- Fix "subbufer" typo
- Rename trace_array::entries (Masami)
- Rename tracing_entries_fops and tracing_total_entries_fops
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ring-buffer: Rename ring_buffer_size() to ring_buffer_capacity()include/ kernel/ kernel/ | +13 | 0 replies | |
| 2/3 | tracing: Rename trace_array::entries to capacitykernel/ kernel/ kernel/ | +22 | 0 replies | |
| 3/3 | tracing: Rename tracing_entries_fops to tracing_capacity_fopskernel/ | +11 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/3] tracing: Rename to "capacity"
A few places in ring-buffer and tracing are using "size" or "entries" while it means "capacity", that is the amount of memory available for raw data in a ring buffer. Rename functions and member where appropriate.
v2:
- Fix "subbufer" typo
- Rename trace_array::entries (Masami)
- Rename tracing_entries_fops and tracing_total_entries_fops
v1 (https://lore.kernel.org/all/[email protected]/)
Vincent Donnefort (3):
ring-buffer: Rename ring_buffer_size() to ring_buffer_capacity()
tracing: Rename trace_array::entries to capacity
tracing: Rename tracing_entries_fops to tracing_capacity_fops
include/linux/ring_buffer.h | 2 +- kernel/trace/ring_buffer.c | 13 ++++++--- kernel/trace/trace.c | 51 +++++++++++++++++------------------ kernel/trace/trace.h | 4 +-- kernel/trace/trace_snapshot.c | 14 +++++----- 5 files changed, 43 insertions(+), 41 deletions(-)
base-commit: df2908090cda368b01ff43709f51890076c56157
Signature · 1 line
2.55.0.979.g7e5102b832-goog