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
  • module.c
Find file BlameHistoryPermalink
  • Steven Rostedt's avatar
    tracing: Fix compile error in module tracepoints when MODULE_UNLOAD not set · eb0c5377
    Steven Rostedt authored Mar 29, 2010
    
    
    If modules are configured in the build but unloading of modules is not,
    then the refcnt is not defined. Place the get/put module tracepoints
    under CONFIG_MODULE_UNLOAD since it references this field in the module
    structure.
    
    As a side-effect, this patch also reduces the code when MODULE_UNLOAD
    is not set, because these unused tracepoints are not created.
    
    Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
    eb0c5377
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7