[PATCH] D111577: [llvm-profgen] Ignore stack samples before aggregation

Hongtao Yu via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 11 14:13:53 PDT 2021


hoy accepted this revision.
hoy added a comment.
This revision is now accepted and ready to land.

Good catch, thanks.



================
Comment at: llvm/tools/llvm-profgen/PerfReader.cpp:652
       // ranges
       Sample->CallStack.front() = Sample->LBRStack[0].Target;
+      if(IgnoreStackSamples)
----------------
make this an `else` case?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D111577/new/

https://reviews.llvm.org/D111577



More information about the llvm-commits mailing list