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
  • tools
  • perf
  • util
  • scripting-engines
  • trace-event-python.c
Find file BlameHistoryPermalink
  • Sean Christopherson's avatar
    perf tools: Use dedicated non-atomic clear/set bit helpers · 75d7ba32
    Sean Christopherson authored Nov 19, 2022
    
    
    Use the dedicated non-atomic helpers for {clear,set}_bit() and their
    test variants, i.e. the double-underscore versions.  Depsite being
    defined in atomic.h, and despite the kernel versions being atomic in the
    kernel, tools' {clear,set}_bit() helpers aren't actually atomic.  Move
    to the double-underscore versions so that the versions that are expected
    to be atomic (for kernel developers) can be made atomic without affecting
    users that don't want atomic operations.
    
    No functional change intended.
    
    Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
    Acked-by: default avatarNamhyung Kim <namhyung@kernel.org>
    Message-Id: <20221119013450.2643007-6-seanjc@google.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    75d7ba32
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7