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_probe.c
Find file BlameHistoryPermalink
  • Masami Hiramatsu (Google)'s avatar
    tracing/probes: Fix to add NULL check for BTF APIs · 1f9f4f47
    Masami Hiramatsu (Google) authored Jul 25, 2023
    Since find_btf_func_param() abd btf_type_by_id() can return NULL,
    the caller must check the return value correctly.
    
    Link: https://lore.kernel.org/all/169024903951.395371.11361556840733470934.stgit@devnote2/
    
    Fixes: b576e097
    
     ("tracing/probes: Support function parameters if BTF is available")
    Signed-off-by: default avatarMasami Hiramatsu (Google) <mhiramat@kernel.org>
    Reviewed-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    1f9f4f47
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7