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
  • arch
  • arm64
  • include
  • asm
  • stacktrace.h
Find file BlameHistoryPermalink
  • Mark Brown's avatar
    arm64: stacktrace: Make stack walk callback consistent with generic code · baa2cd41
    Mark Brown authored Sep 14, 2020
    
    
    As with the generic arch_stack_walk() code the arm64 stack walk code takes
    a callback that is called per stack frame. Currently the arm64 code always
    passes a struct stackframe to the callback and the generic code just passes
    the pc, however none of the users ever reference anything in the struct
    other than the pc value. The arm64 code also uses a return type of int
    while the generic code uses a return type of bool though in both cases the
    return value is a boolean value and the sense is inverted between the two.
    
    In order to reduce code duplication when arm64 is converted to use
    arch_stack_walk() change the signature and return sense of the arm64
    specific callback to match that of the generic code.
    
    Signed-off-by: default avatarMark Brown <broonie@kernel.org>
    Reviewed-by: default avatarMiroslav Benes <mbenes@suse.cz>
    Link: https://lore.kernel.org/r/20200914153409.25097-3-broonie@kernel.org
    
    
    Signed-off-by: default avatarWill Deacon <will@kernel.org>
    baa2cd41
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7