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
    tracing/perf: Add interrupt_context_level() helper · 91ebe8bc
    Steven Rostedt (VMware) authored Oct 15, 2021
    Now that there are three different instances of doing the addition trick
    to the preempt_count() and NMI_MASK, HARDIRQ_MASK and SOFTIRQ_OFFSET
    macros, it deserves a helper function defined in the preempt.h header.
    
    Add the interrupt_context_level() helper and replace the three instances
    that do that logic with it.
    
    Link: https://lore.kernel.org/all/20211015142541.4badd8a9@gandalf.local.home/
    
    
    
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    91ebe8bc
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7