Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • trace
  • ring_buffer_benchmark.c
Find file BlameHistoryPermalink
  • Tzvetomir Stoyanov (VMware)'s avatar
    ring-buffer: Read and write to ring buffers with custom sub buffer size · bce761d7
    Tzvetomir Stoyanov (VMware) authored Dec 19, 2023
    As the size of the ring sub buffer page can be changed dynamically,
    the logic that reads and writes to the buffer should be fixed to take
    that into account. Some internal ring buffer APIs are changed:
     ring_buffer_alloc_read_page()
     ring_buffer_free_read_page()
     ring_buffer_read_page()
    A new API is introduced:
     ring_buffer_read_page_data()
    
    Link: https://lore.kernel.org/linux-trace-devel/20211213094825.61876-6-tz.stoyanov@gmail.com
    Link: https://lore.kernel.org/linux-trace-kernel/20231219185628.875145995@goodmis.org
    
    
    
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Cc: Mark Rutland <mark.rutland@arm.com>
    Cc: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
    Cc: Andrew Morton <akpm@linux-foundation.org>
    Cc: Vincent Donnefort <vdonnefort@google.com>
    Cc: Kent Overstreet <kent.overstreet@gmail.com>
    Signed-off-by: default avatarTzvetomir Stoyanov (VMware) <tz.stoyanov@gmail.com>
    [ Fixed kerneldoc on data_page parameter in ring_buffer_free_read_page() ]
    Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    bce761d7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7