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
  • tools
  • perf
  • util
  • annotate.c
Find file BlameHistoryPermalink
  • Namhyung Kim's avatar
    perf annotate-data: Parse 'lock' prefix from llvm-objdump · a3397d69
    Namhyung Kim authored Jan 16, 2024
    
    
    For the performance reason, I prefer llvm-objdump over GNU's.  But I
    found that llvm-objdump puts x86 lock prefix in a separate line like
    below.
    
      ffffffff81000695: f0                    lock
      ffffffff81000696: ff 83 54 0b 00 00     incl    2900(%rbx)
    
    This should be parsed properly, but I just changed to find the insn
    with next offset for now.
    
    This improves the statistics as it can process more instructions.
    
      Annotate data type stats:
      total 294, ok 144 (49.0%), bad 150 (51.0%)
      -----------------------------------------------------------
              30 : no_sym
              35 : no_mem_ops
              71 : no_var
               6 : no_typeinfo
               8 : bad_offset
    
    Reviewed-by: default avatarIan Rogers <irogers@google.com>
    Cc: Stephane Eranian <eranian@google.com>
    Cc: Masami Hiramatsu <mhiramat@kernel.org>
    Link: https://lore.kernel.org/r/20240117062657.985479-2-namhyung@kernel.org
    
    
    Signed-off-by: default avatarNamhyung Kim <namhyung@kernel.org>
    a3397d69
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7