[PATCH] D84076: [llvm-exegesis] Unset HAVE_LIBPFM if the kernel is too old.

Ondrej Sykora via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 24 09:10:59 PDT 2020


ondrasej added inline comments.


================
Comment at: llvm/cmake/modules/FindLibpfm.cmake:20
       set(HAVE_LIBPFM 1)
+      # Check to see if perf_branch_entry has the field 'cycle'.
+      # We couldn't use CheckStructHasMember here because 'cycles' is a bit field which is not
----------------
Nit: cycles (the field name is in plural)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D84076





More information about the llvm-commits mailing list