[all-commits] [llvm/llvm-project] a7cdcf: [llvm-profgen] Ignore invalid perf line in LBR record

ictwanglei via All-commits all-commits at lists.llvm.org
Fri Sep 24 13:45:38 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a7cdcf25c17e169eedba276791299c3b2b78fbf1
      https://github.com/llvm/llvm-project/commit/a7cdcf25c17e169eedba276791299c3b2b78fbf1
  Author: wlei <wlei at fb.com>
  Date:   2021-09-24 (Fri, 24 Sep 2021)

  Changed paths:
    M llvm/test/tools/llvm-profgen/Inputs/noprobe.perfscript
    M llvm/tools/llvm-profgen/PerfReader.cpp

  Log Message:
  -----------
  [llvm-profgen] Ignore invalid perf line in LBR record

Similar to https://reviews.llvm.org/D109637, there is a whole invalid line of message in perfscript.

```
warning: Invalid address in LBR record at line 14118674: Processed 14138923 events and lost 1 chunks!
warning: Invalid address in LBR record at line 14118676: Check IO/CPU overload!
```

This only happened for LBR only perfscript, hybridperfscript have a check of " 0x" to make sure it's the LBR perf line.

Reviewed By: hoy, wenlei

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




More information about the All-commits mailing list