3 ms·
What would be cool is if any of these profilers and compilers could put their heads together and make a profile format that A) is easy to generate (with `perf r
by jeffbee 5y ago
What would be cool is if any of these profilers and compilers could put their heads together and make a profile format that A) is easy to generate (with `perf record` or whatever) and B) can be used as a compiler input without conversion (as in `clang -fprofile-use=perf.data`).
- mhansen 5y agoAuthor here. You're probably already aware of this, but you can convert the `perf record` format to a format Clang understands: https://clang.llvm.org/docs/UsersManual.html#using-sampling-profilers https://clang.llvm.org/docs/UsersManual.html#using-sampling-... I expect the problem is somewhat political; profiler and compiler teams release different features, at different frequencies and don't want to be tied together.