mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/4] tracing: Introduce configurable ring sub buffer size
@ 2021-11-19  4:40 Tzvetomir Stoyanov (VMware)
  2021-11-19  4:40 ` [PATCH v2 1/4] [RFC] tracing: Refactor ring buffer implementation Tzvetomir Stoyanov (VMware)
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Tzvetomir Stoyanov (VMware) @ 2021-11-19  4:40 UTC (permalink / raw)
  To: rostedt; +Cc: linux-kernel

From: "Tzvetomir Stoyanov (VMware)" <tstoyanov@vmware.com>

Currently the size of one sub buffer page is global for all buffers and it
is hard coded to one system page. The patch set introduces configurable
ring buffer sub page size, per ring buffer. A new user space interface is
introduced, which allows to change the sub page size of the ftrace buffer, per
ftrace instance.

v2 changes:
 - Split code refactoring in a separate patch.
 - Changed the logic to work with order of system pages, instead of page
   size.
 - Fix freeing of the allocated pages, to take into account the actual order.
 - Code clean ups.
 - Bug fixes.

Tzvetomir Stoyanov (VMware) (4):
  [RFC] tracing: Refactor ring buffer implementation
  [RFC] tracing: Page size per ring buffer
  [RFC] tracing: Add interface for configuring trace sub buffer size
  [WiP] tracing: Set new size of the ring buffer sub page

 include/linux/ring_buffer.h |   5 +-
 kernel/trace/ring_buffer.c  | 262 +++++++++++++++++++++++++++---------
 kernel/trace/trace.c        |  50 ++++++-
 kernel/trace/trace.h        |   1 +
 kernel/trace/trace_events.c |  50 +++++--
 5 files changed, 293 insertions(+), 75 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-19  4:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-19  4:40 [PATCH v2 0/4] tracing: Introduce configurable ring sub buffer size Tzvetomir Stoyanov (VMware)
2021-11-19  4:40 ` [PATCH v2 1/4] [RFC] tracing: Refactor ring buffer implementation Tzvetomir Stoyanov (VMware)
2021-11-19  4:40 ` [PATCH v2 2/4] [RFC] tracing: Page size per ring buffer Tzvetomir Stoyanov (VMware)
2021-11-19  4:40 ` [PATCH v2 3/4] [RFC] tracing: Add interface for configuring trace sub buffer size Tzvetomir Stoyanov (VMware)
2021-11-19  4:40 ` [PATCH v2 4/4] [WiP] tracing: Set new size of the ring buffer sub page Tzvetomir Stoyanov (VMware)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®