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_stack.c
Find file BlameHistoryPermalink
  • Anton Vorontsov's avatar
    tracing: Remove unneeded checks from the stack tracer · 717a9ef7
    Anton Vorontsov authored Jul 18, 2012
    It seems that 'ftrace_enabled' flag should not be used inside the tracer
    functions. The ftrace core is using this flag for internal purposes, and
    the flag wasn't meant to be used in tracers' runtime checks.
    
    stack tracer is the only tracer that abusing the flag. So stop it from
    serving as a bad example.
    
    Also, there is a local 'stack_trace_disabled' flag in the stack tracer,
    which is never updated; so it can be removed as well.
    
    Link: http://lkml.kernel.org/r/1342637761-9655-1-git-send-email-anton.vorontsov@linaro.org
    
    
    
    Signed-off-by: default avatarAnton Vorontsov <anton.vorontsov@linaro.org>
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    717a9ef7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7