[PATCH] D112411: [LNT] Updated cPerf to read the section Attributes (support Simpleperf)
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 8 01:53:18 PST 2021
thopre added inline comments.
================
Comment at: lnt/testing/profile/cPerf.cpp:229-289
+enum perf_type_id {
+ PERF_TYPE_HARDWARE = 0,
+ PERF_TYPE_SOFTWARE = 1,
+ PERF_TYPE_TRACEPOINT = 2,
+ PERF_TYPE_HW_CACHE = 3,
+ PERF_TYPE_RAW = 4,
+ PERF_TYPE_BREAKPOINT = 5,
----------------
kpdev42 wrote:
> thopre wrote:
> > Is there no perf header that we could add to the tree?
> Do you mean system headers for perf support? Unfortunately, it is not a simple task. Such headers has a lot of dependencies and cannot be easily unified to use them on all supported platforms. That is the reason why **all** perf-specific structures are defined in this particular file.
Ah ok, fine to copy the data structures here then.
Repository:
rLNT LNT
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112411/new/
https://reviews.llvm.org/D112411
More information about the llvm-commits
mailing list