[all-commits] [llvm/llvm-project] fe3ba9: [llvm-profgen] Support perf script without parsing...

ictwanglei via All-commits all-commits at lists.llvm.org
Tue Aug 3 10:04:56 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fe3ba90830f6ee84f9bb305606dec38451c4c884
      https://github.com/llvm/llvm-project/commit/fe3ba90830f6ee84f9bb305606dec38451c4c884
  Author: wlei <wlei at fb.com>
  Date:   2021-08-03 (Tue, 03 Aug 2021)

  Changed paths:
    A llvm/test/tools/llvm-profgen/Inputs/recursion-compression-pseudoprobe-nommap.perfscript
    M llvm/test/tools/llvm-profgen/recursion-compression-pseudoprobe.test
    M llvm/tools/llvm-profgen/PerfReader.cpp
    M llvm/tools/llvm-profgen/ProfiledBinary.h

  Log Message:
  -----------
  [llvm-profgen] Support perf script without parsing MMap events

This change supports to run without parsing MMap binary loading events instead it always assumes binary is loaded at the preferred address. This is used when we have assured no binary load address changes or we have pre-processed the addresses resolution. Warn if there's interior mmap event but without leading mmap events.

Reviewed By: hoy

Differential Revision: https://reviews.llvm.org/D107097




More information about the All-commits mailing list