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
  • debug
  • debug_core.c
Find file BlameHistoryPermalink
  • Daniel Thompson's avatar
    kernel: debug: Centralize dbg_[de]activate_sw_breakpoints · 771910f7
    Daniel Thompson authored Sep 27, 2020
    
    
    During debug trap execution we expect dbg_deactivate_sw_breakpoints()
    to be paired with an dbg_activate_sw_breakpoint(). Currently although
    the calls are paired correctly they are needlessly smeared across three
    different functions. Worse this also results in code to drive polled I/O
    being called with breakpoints activated which, in turn, needlessly
    increases the set of functions that will recursively trap if breakpointed.
    
    Fix this by moving the activation of breakpoints into the debug core.
    
    Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
    Link: https://lore.kernel.org/r/20200927211531.1380577-4-daniel.thompson@linaro.org
    
    
    Signed-off-by: default avatarDaniel Thompson <daniel.thompson@linaro.org>
    771910f7
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7