[all-commits] [llvm/llvm-project] e6c84f: Add thin wrapper for perf_event_open API

Jakob Johnson via All-commits all-commits at lists.llvm.org
Mon Mar 21 13:39:20 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6c84f82b87576a57d1fa1c7e8c289d3d4fa7ab1
      https://github.com/llvm/llvm-project/commit/e6c84f82b87576a57d1fa1c7e8c289d3d4fa7ab1
  Author: Jakob Johnson <johnsonjakob99 at gmail.com>
  Date:   2022-03-21 (Mon, 21 Mar 2022)

  Changed paths:
    M lldb/source/Plugins/Process/Linux/CMakeLists.txt
    M lldb/source/Plugins/Process/Linux/IntelPTCollector.cpp
    M lldb/source/Plugins/Process/Linux/IntelPTCollector.h
    A lldb/source/Plugins/Process/Linux/Perf.cpp
    A lldb/source/Plugins/Process/Linux/Perf.h
    M lldb/unittests/Process/Linux/CMakeLists.txt
    M lldb/unittests/Process/Linux/IntelPTCollectorTests.cpp
    A lldb/unittests/Process/Linux/PerfTests.cpp

  Log Message:
  -----------
  Add thin wrapper for perf_event_open API
  - Add PerfEvent class to handle creating ring buffers and handle the resources associated with a perf_event
  - Refactor IntelPT collection code to use this new API
  - Add TSC to timestamp conversion logic with unittest

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




More information about the All-commits mailing list