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
You need to sign in or sign up before continuing.
  • linux
  • kernel
  • trace
  • trace_kprobe.c
Find file BlameHistoryPermalink
  • Arnd Bergmann's avatar
    tracing/kprobes: Fix __init annotation · 26a346f2
    Arnd Bergmann authored Feb 01, 2017
    clang complains about "__init" being attached to a struct name:
    
    kernel/trace/trace_kprobe.c:1375:15: error: '__section__' attribute only applies to functions and global variables
    
    The intention must have been to mark the function as __init instead of
    the type, so move the attribute there.
    
    Link: http://lkml.kernel.org/r/20170201165826.2625888-1-arnd@arndb.de
    
    Fixes: f18f97ac
    
     ("tracing/kprobes: Add a helper method to return number of probe hits")
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarSteven Rostedt (VMware) <rostedt@goodmis.org>
    26a346f2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7