We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 14cf49c commit 3fb0ca5Copy full SHA for 3fb0ca5
bolt/lib/Profile/DataAggregator.cpp
@@ -173,8 +173,9 @@ void DataAggregator::findPerfExecutable() {
173
void DataAggregator::start() {
174
outs() << "PERF2BOLT: Starting data aggregation job for " << Filename << "\n";
175
176
- // Don't launch perf for pre-aggregated files
177
- if (opts::ReadPreAggregated)
+ // Don't launch perf for pre-aggregated files or when perf input is specified
+ // by the user.
178
+ if (opts::ReadPreAggregated || !opts::ReadPerfEvents.empty())
179
return;
180
181
findPerfExecutable();
0 commit comments