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
  • s390
  • include
  • asm
  • stacktrace.h
Find file BlameHistoryPermalink
  • Heiko Carstens's avatar
    s390/perf: implement perf_callchain_user() · 504b73d0
    Heiko Carstens authored Oct 30, 2023
    
    
    Daan De Meyer and Neal Gompa reported that s390 does not support perf user
    stack unwinding.
    
    This was never implemented since this requires user space to be compiled
    with the -mbackchain compile option, which until now no distribution
    did. However this is going to change with Fedora. Therefore provide a
    perf_callchain_user() implementation.
    
    Note that due to the way s390 sets up stack frames the provided call chains
    can contain invalid values. This is especially true for the first stack
    frame, where it is not possible to tell if the return address has been
    written to the stack already or not.
    
    Reported-by: default avatarDaan De Meyer <daan.j.demeyer@gmail.com>
    Reported-by: default avatarNeal Gompa <ngompa@fedoraproject.org>
    Closes: https://lore.kernel.org/all/CAO8sHcn3+_qrnvp0580aK7jN0Wion5F7KYeBAa4MnCY4mqABPA@mail.gmail.com/
    Link: https://lore.kernel.org/all/20231030123558.10816-A-hca@linux.ibm.com
    
    
    Reviewed-by: default avatarNeal Gompa <ngompa@fedoraproject.org>
    Acked-by: default avatarIlya Leoshkevich <iii@linux.ibm.com>
    Signed-off-by: default avatarHeiko Carstens <hca@linux.ibm.com>
    Signed-off-by: default avatarVasily Gorbik <gor@linux.ibm.com>
    504b73d0
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7