[all-commits] [llvm/llvm-project] f3dfcc: [llvm-exegesis] Support older kernel versions in s...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Tue Jul 18 10:45:35 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3dfcc5053ada898f0327ee2371d53be0f71f0a6
      https://github.com/llvm/llvm-project/commit/f3dfcc5053ada898f0327ee2371d53be0f71f0a6
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-07-18 (Tue, 18 Jul 2023)

  Changed paths:
    M llvm/test/tools/llvm-exegesis/lit.local.cfg
    M llvm/tools/llvm-exegesis/lib/BenchmarkRunner.cpp

  Log Message:
  -----------
  [llvm-exegesis] Support older kernel versions in subprocess executor

This patch switches from moving the performance counter file descriptor
to the child process to socket calls rather than using the pidfd_getfd
system call which was introduced in kernel 5.6. This significantly
expands the range of kernel versions that are supported.

Reviewed By: courbet

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




More information about the All-commits mailing list