[Lldb-commits] [PATCH] D133763: WIP strawman building perf.cpp on an older kernel

David Spickett via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 13 02:23:24 PDT 2022


DavidSpickett planned changes to this revision.
DavidSpickett added inline comments.
Herald added a subscriber: JDevlieghere.


================
Comment at: lldb/source/Plugins/Process/Linux/Perf.cpp:28
 lldb_private::process_linux::LoadPerfTscConversionParameters() {
 #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 12, 0)
   lldb::pid_t pid = getpid();
----------------
Use this sort of thing, or an ifdef set by cmake.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133763



More information about the lldb-commits mailing list