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
  • trace
  • trace_functions.c
Find file BlameHistoryPermalink
  • Tatsuya S's avatar
    ftrace: Hide one more entry in stack trace when ftrace_pid is enabled · 6c1f7f0a
    Tatsuya S authored May 28, 2024
    On setting set_ftrace_pid, a extra entry generated by ftrace_pid_func()
    is shown on stack trace(CONFIG_UNWINDER_FRAME_POINTER=y).
    
            [004] .....    68.459382: <stack trace>
     => 0xffffffffa00090af
     => ksys_read
     => __x64_sys_read
     => x64_sys_call
     => do_syscall_64
     => entry_SYSCALL_64_after_hwframe
    
    To resolve this issue, increment skip count
    in function_stack_trace_call() if pids are set.
    
    Link: https://lore.kernel.org/linux-trace-kernel/20240528032604.6813-3-tatsuya.s2862@gmail.com
    
    
    
    Signed-off-by: default avatarTatsuya S <tatsuya.s2862@gmail.com>
    [ Rebased to current tree ]
    Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    6c1f7f0a
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7