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
  • scripts
  • Makefile.modfinal
Find file BlameHistoryPermalink
  • Andrea Righi's avatar
    btf, scripts: rust: drop is_rust_module.sh · 41bdc6de
    Andrea Righi authored Jul 04, 2023
    With commit c1177979
    
     ("btf, scripts: Exclude Rust CUs with pahole")
    we are now able to use pahole directly to identify Rust compilation
    units (CUs) and exclude them from generating BTF debugging information
    (when DEBUG_INFO_BTF is enabled).
    
    And if pahole doesn't support the --lang-exclude flag, we can't enable
    both RUST and DEBUG_INFO_BTF at the same time.
    
    So, in any case, the script is_rust_module.sh is just redundant and we
    can drop it.
    
    NOTE: we may also be able to drop the "Rust loadable module" mark
    inside Rust modules, but it seems safer to keep it for now to make sure
    we are not breaking any external tool that may potentially rely on it.
    
    Signed-off-by: default avatarAndrea Righi <andrea.righi@canonical.com>
    Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
    Tested-by: default avatarEric Curtin <ecurtin@redhat.com>
    Reviewed-by: default avatarEric Curtin <ecurtin@redhat.com>
    Reviewed-by: default avatarNeal Gompa <neal@gompa.dev>
    Reviewed-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
    Reviewed-by: default avatarMartin Rodriguez Reboredo <yakoyoku@gmail.com>
    Acked-by: default avatarDaniel Xu <dxu@dxuuu.xyz>
    Link: https://lore.kernel.org/r/20230704052136.155445-1-andrea.righi@canonical.com
    
    
    [ Picked the `Reviewed-by`s from the old patch too. ]
    Signed-off-by: default avatarMiguel Ojeda <ojeda@kernel.org>
    41bdc6de
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7