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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • trace
  • trace_clock.c
Find file BlameHistoryPermalink
  • Steven Rostedt (VMware)'s avatar
    tracing: Hide global trace clock from lockdep · f7a1570d
    Steven Rostedt (VMware) authored Apr 04, 2018
    Function tracing can trace in NMIs and such. If the TSC is determined
    to be unstable, the tracing clock will switch to the global clock on
    boot up, unless "trace_clock" is specified on the kernel command line.
    
    The global clock disables interrupts to access sched_clock_cpu(), and in
    doing so can be done within lockdep internals (because of function
    tracing and NMIs). This can trigger false lockdep splats.
    
    The trace_clock_global() is special, best not to trace the irq logic
    within it.
    
    Link: http://lkml.kernel.org/r/20180404145015.77bde42d@gandalf.local.home
    
    
    
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    f7a1570d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7