Split up and refactor CLANG_BOLT_INSTRUMENT into support for
perf no-LBR and perf with LBR profiling modes.
Details
Details
- Reviewers
beanz phosek jobnoorman - Group Reviewers
Restricted Project
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
clang/utils/perf-training/bolt.lit.cfg | ||
---|---|---|
12 | This name would ideally be passed through the generated lit.site.cfg rather than hardcoding it here. | |
clang/utils/perf-training/perf-helper.py | ||
64 | This could be omitted. | |
74 | Can we remove this? | |
77–86 | Why not assign to perf_args directly? | |
104 | I'd call it llvm-bolt for simplicity. | |
107–109 | I'd consider providing both --lbr and --no-lbr options. | |
112–115 | Why not assign to p2b_args directly? |
clang/utils/perf-training/perf-helper.py | ||
---|---|---|
64 | I think it's best to keep it as optional argument, not positional. |
Comment Actions
Make the name of BOLT-instrumented Clang binary (CLANG_BOLT_INSTRUMENTED)
a user-settable cache variable
This name would ideally be passed through the generated lit.site.cfg rather than hardcoding it here.