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.c
Find file BlameHistoryPermalink
  • Steven Rostedt (VMware)'s avatar
    ring-buffer: Add verifier for using ring_buffer_event_time_stamp() · a948c69d
    Steven Rostedt (VMware) authored Mar 16, 2021
    The ring_buffer_event_time_stamp() must be only called by an event that has
    not been committed yet, and is on the buffer that is passed in. This was
    used to help debug converting the histogram logic over to using the new
    time stamp code, and was proven to be very useful.
    
    Add a verifier that can check that this is the case, and extra WARN_ONs to
    catch unexpected use cases.
    
    Link: https://lkml.kernel.org/r/20210316164113.987294354@goodmis.org
    
    
    
    Reviewed-by: default avatarTom Zanussi <zanussi@kernel.org>
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    a948c69d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7