forked from OSchip/llvm-project
[PR] README: remove note about experimental status of instrumentation
Summary: Vasily Leonenko, Advanced Software Technology Lab, Huawei (cherry picked from FBD30092666)
This commit is contained in:
parent
361f3b5576
commit
285ac26d16
|
@ -140,7 +140,7 @@ a VM or on hardware that does not support it, then you can use only sample
|
|||
events, such as cycles. In this case, the quality of the profile information
|
||||
would not be as good, and performance gains with BOLT are expected to be lower.
|
||||
|
||||
#### With instrumentation (experimental)
|
||||
#### With instrumentation
|
||||
|
||||
If perf record is not available to you, you may collect profile by first
|
||||
instrumenting the binary with BOLT and then running it.
|
||||
|
@ -153,8 +153,7 @@ profile should be ready for you in `/tmp/prof.fdata` and you can skip
|
|||
**Step 2**.
|
||||
|
||||
Run BOLT with the `-help` option and check the category "BOLT instrumentation
|
||||
options" for a quick reference on instrumentation knobs. Instrumentation is
|
||||
experimental and currently does not work for PIEs/SOs.
|
||||
options" for a quick reference on instrumentation knobs.
|
||||
|
||||
### Step 2: Convert Profile to BOLT Format
|
||||
|
||||
|
|
|
@ -65,11 +65,6 @@ void InstrumentationRuntimeLibrary::adjustCommandLineOptions(
|
|||
"DT_FINI to write the profile\n";
|
||||
exit(1);
|
||||
}
|
||||
if (!BC.HasFixedLoadAddress) {
|
||||
outs() << "BOLT-ERROR: shared object or position-independent executables "
|
||||
"are not allowed in instrumentation mode\n";
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
||||
void InstrumentationRuntimeLibrary::emitBinary(BinaryContext &BC,
|
||||
|
|
Loading…
Reference in New Issue