aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
diff options
context:
space:
mode:
authorJakob Johnson <johnsonjakob99@gmail.com>2022-03-22 06:15:56 -0700
committerJakob Johnson <johnsonjakob99@gmail.com>2022-03-24 05:36:21 -0700
commit9b79187c96a3bc2c245ab54d49accc12336f0cee (patch)
tree822e69d10aad9772b77ffb2ccbb4601ac8a28448 /clang/lib/CodeGen/CodeGenFunction.cpp
parent621cc83fc1716a974c7e97a511fc71b09fbd6337 (diff)
downloadllvm-9b79187c96a3bc2c245ab54d49accc12336f0cee.zip
llvm-9b79187c96a3bc2c245ab54d49accc12336f0cee.tar.gz
llvm-9b79187c96a3bc2c245ab54d49accc12336f0cee.tar.bz2
[trace][intelpt] Server side changes for TSC to wall time conversion
Update the response schema of the TraceGetState packet and add Intel PT specific response structure that contains the TSC conversion, if it exists. The IntelPTCollector loads the TSC conversion and caches it to prevent unnecessary calls to perf_event_open. Move the TSC conversion calculation from Perf.h to TraceIntelPTGDBRemotePackets.h to remove dependency on Linux specific headers. Differential Revision: https://reviews.llvm.org/D122246
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions